summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-02 11:04:57 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-02 11:04:57 +0900
commit9d322282e4a5be1c908d73c8039f99cb9950f8f3 (patch)
tree6dc578f774fe16ed9dff23b5012cf07958f0f4d3 /sequencer.c
parentMerge branch 'jc/rebase-in-c-5-test-typofix' (diff)
parentsequencer: cleanup for gcc warning in non developer mode (diff)
downloadtgif-9d322282e4a5be1c908d73c8039f99cb9950f8f3.tar.xz
Merge branch 'cb/printf-empty-format'
Build fix for a topic in flight. * cb/printf-empty-format: sequencer: cleanup for gcc warning in non developer mode
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index 3c86c7694b..22d7532c5a 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -2375,7 +2375,7 @@ int write_basic_state(struct replay_opts *opts, const char *head_name,
write_file(rebase_path_quiet(), "\n");
if (opts->verbose)
- write_file(rebase_path_verbose(), "");
+ write_file(rebase_path_verbose(), "%s", "");
if (opts->strategy)
write_file(rebase_path_strategy(), "%s\n", opts->strategy);
if (opts->xopts_nr > 0)