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

-- 
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");

Attachment: signature.asc
Description: Digital signature

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to