gcc 4.2 warnings
Andrew Sackville-West
ajswest at mindspring.com
Thu Oct 4 16:56:17 EDT 2007
At jsled's prompting, I'm taking a stab at hacking my way through gcc
4.2.1 (debian) warnings. And, at warlord's oh-so-kind prompting, I'm
actually trying to do something about them.
All credit for these will likely belong to whichever poor beleaguered
dev happens to be on #gnucash at the moment. :)
also note that these will be fixes that make the warning go
away. Potential implications are a complete mystery to me...
here's the first one.
A
--
-------------- next part --------------
Index: engine/TransLog.c
===================================================================
--- engine/TransLog.c (revision 16547)
+++ engine/TransLog.c (working copy)
@@ -273,7 +273,7 @@
gnc_numeric_denom(amt),
gnc_numeric_num(val),
gnc_numeric_denom(val),
- drecn ? drecn : "");
+ drecn[0] == 0 ? drecn : "");
}
fprintf (trans_log, "===== END\n");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20071004/11e80ea1/attachment.bin
More information about the gnucash-devel
mailing list