2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-04-24 14:41:06 +08:00

2005-01-09 Andreas Jaeger <aj@suse.de>

[BZ ]
	* time/strptime_l.c (__strptime_internal): Add braces to avoid
	warning.
This commit is contained in:
Roland McGrath 2005-02-16 10:23:14 +00:00
parent 6cf3dca07f
commit 10e8cc12fa

@ -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