summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-06-06 11:21:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-06 11:21:47 -0700
commit09e141f12790676d2b0297c0d5f1ca9e27140480 (patch)
tree3227abaeabd35bd88a8c61cc6b3cc5e342f24962 /builtin/commit.c
parentMerge branch 'jk/squelch-compiler-warning-from-funny-error-macro' (diff)
parentsilence a bunch of format-zero-length warnings (diff)
downloadtgif-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.c2
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;