Follow-up Comment #3, bug #18081 (project freeciv): This is just terrible, if I change NULL to "" I get: warning: zero-length printf format string
I propose, in fc_assert_fail and similar change if (NULL != message) { into if (NOMSG != message) { where NOMSG is some define, like (void*)0x1. After that all calls with NULL will be change to NOMSG or EMPTYSTR or whatever. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?18081> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev