From: Junio C Hamano Date: Fri, 9 Aug 2013 04:41:44 +0000 (-0700) Subject: builtin/config.c: compilation fix X-Git-Tag: v1.8.5-rc0~164^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6667a6ac20747eb56eb2c03c39aceaf6aebbae3c?hp=6667a6ac20747eb56eb2c03c39aceaf6aebbae3c builtin/config.c: compilation fix Do not feed a random string as the first parameter to die(); use "%s" as the format string instead. Do the same for test-urlmatch-normalization.c while saving a single pointer variable by turning a "const char *" constant string into "const char []", which is sufficient to squelch compilation warning (the compiler can see usage[] given to die() is a constant and will never have conversion specifiers that cause trouble). But for a good measure, give them the same "%s" treatment as well. Signed-off-by: Junio C Hamano ---