From 10e8cc12fad568d6cdce62df59657ebd4139df50 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 16 Feb 2005 10:23:14 +0000 Subject: [PATCH] 2005-01-09 Andreas Jaeger [BZ #732] * time/strptime_l.c (__strptime_internal): Add braces to avoid warning. --- time/strptime_l.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.47.2