diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:21:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:21:47 -0700 |
commit | 09e141f12790676d2b0297c0d5f1ca9e27140480 (patch) | |
tree | 3227abaeabd35bd88a8c61cc6b3cc5e342f24962 /builtin/commit.c | |
parent | Merge branch 'jk/squelch-compiler-warning-from-funny-error-macro' (diff) | |
parent | silence a bunch of format-zero-length warnings (diff) | |
download | tgif-09e141f12790676d2b0297c0d5f1ca9e27140480.tar.xz |
Merge branch 'fc/status-printf-squelch-format-zero-length-warnings'
* fc/status-printf-squelch-format-zero-length-warnings:
silence a bunch of format-zero-length warnings
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 0320efd57d..d28505a857 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -848,7 +848,7 @@ static int prepare_to_commit(const char *index_file, const char *prefix, (int)(ci.mail_end - ci.mail_begin), ci.mail_begin); if (ident_shown) - status_printf_ln(s, GIT_COLOR_NORMAL, ""); + status_printf_ln(s, GIT_COLOR_NORMAL, "%s", ""); saved_color_setting = s->use_color; s->use_color = 0; |