From: Ralph Corderoy Date: Wed, 9 Aug 2017 14:42:48 +0000 (+0100) Subject: Silence more gcc format-string warnings. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/39ecf70bb88f71d5e13015ba143b946ccd8f02b4?hp=39ecf70bb88f71d5e13015ba143b946ccd8f02b4 Silence more gcc format-string warnings. By enabling more checks, gcc has found some real bugs, e.g. `printf(buf, "%d", i)'. Other changes required duplicating the formatting call with a constant format string; a local macro was used to avoid repeating all the many arguments. ---