sequencer: silence -Wtautological-constant-out-of-range-compare
[gitweb.git] / merge-recursive.c
index 3750d2534f5f2e9842375516eb75143a8e52d7fe..5200d5ccf8e10b9d5726f1c814f43dfebf32531d 100644 (file)
@@ -206,7 +206,7 @@ static void output_commit_title(struct merge_options *o, struct commit *commit)
                        find_unique_abbrev(commit->object.oid.hash,
                                DEFAULT_ABBREV));
                if (parse_commit(commit) != 0)
-                       strbuf_addf(&o->obuf, _("(bad commit)\n"));
+                       strbuf_addstr(&o->obuf, _("(bad commit)\n"));
                else {
                        const char *title;
                        const char *msg = get_commit_buffer(commit, NULL);