Merge branch 'cb/printf-empty-format'
authorJunio C Hamano <gitster@pobox.com>
Fri, 2 Nov 2018 02:04:57 +0000 (11:04 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Nov 2018 02:04:57 +0000 (11:04 +0900)
Build fix for a topic in flight.

* cb/printf-empty-format:
  sequencer: cleanup for gcc warning in non developer mode

sequencer.c

index 3c86c76..22d7532 100644 (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)