From: Roland McGrath Date: Wed, 16 Feb 2005 10:23:14 +0000 (+0000) Subject: 2005-01-09 Andreas Jaeger X-Git-Tag: cvs/fedora-glibc-2_3-20050216T1256~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e8cc12fad568d6cdce62df59657ebd4139df50;p=thirdparty%2Fglibc.git 2005-01-09 Andreas Jaeger [BZ #732] * time/strptime_l.c (__strptime_internal): Add braces to avoid warning. --- diff --git a/time/strptime_l.c b/time/strptime_l.c index df98099f0a4..cf0ab7153d9 100644 --- a/time/strptime_l.c +++ b/time/strptime_l.c @@ -539,10 +539,12 @@ __strptime_internal (rp, fmt, tm, decided, era_cnt LOCALE_PARAM) } #endif if (!match_string (HERE_AM_STR, rp)) - if (match_string (HERE_PM_STR, rp)) - is_pm = 1; - else - return NULL; + { + if (match_string (HERE_PM_STR, rp)) + is_pm = 1; + else + return NULL; + } break; case 'r': #ifdef _NL_CURRENT