r18827 - gnucash/trunk/lib/libc - Add braces to make if-if-then-else structure clear and avoid GCC 4.4.0 error message
Phil Longstaff
plongstaff at code.gnucash.org
Thu Mar 4 17:04:23 EST 2010
Author: plongstaff
Date: 2010-03-04 17:04:23 -0500 (Thu, 04 Mar 2010)
New Revision: 18827
Trac: http://svn.gnucash.org/trac/changeset/18827
Modified:
gnucash/trunk/lib/libc/strptime.c
Log:
Add braces to make if-if-then-else structure clear and avoid GCC 4.4.0 error message
Modified: gnucash/trunk/lib/libc/strptime.c
===================================================================
--- gnucash/trunk/lib/libc/strptime.c 2010-03-04 22:03:42 UTC (rev 18826)
+++ gnucash/trunk/lib/libc/strptime.c 2010-03-04 22:04:23 UTC (rev 18827)
@@ -847,10 +847,16 @@
}
#endif
if (!match_string (HERE_AM_STR, rp))
+ {
if (match_string (HERE_PM_STR, rp))
+ {
is_pm = 1;
+ }
else
+ {
return NULL;
+ }
+ }
break;
case 'r':
#ifdef _NL_CURRENT
More information about the gnucash-changes
mailing list