diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-08-08 21:41:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-09 09:20:38 -0700 |
commit | 6667a6ac20747eb56eb2c03c39aceaf6aebbae3c (patch) | |
tree | 900e27b2629556db97b1c9bce892d2bb15b4b1c7 /Documentation/RelNotes/1.7.2.4.txt | |
parent | config: "git config --get-urlmatch" parses section.<url>.key (diff) | |
download | tgif-6667a6ac20747eb56eb2c03c39aceaf6aebbae3c.tar.xz |
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 <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.2.4.txt')
0 files changed, 0 insertions, 0 deletions