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
maint
Junio C Hamano 2018-11-02 11:04:57 +09:00
commit 9d322282e4
1 changed files with 1 additions and 1 deletions

View File

@ -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)