]> git.ipfire.org Git - thirdparty/git.git/blobdiff - trace2/tr2_tgt_perf.c
*.[ch]: remove extern from function declarations using spatch
[thirdparty/git.git] / trace2 / tr2_tgt_perf.c
index f0746fcf868ccab0408333bb954e7d531843af7d..2a866d701b201d36521cbd7d860d23f378a0f5b7 100644 (file)
@@ -211,7 +211,7 @@ static void fn_atexit(uint64_t us_elapsed_absolute, int code)
 static void maybe_append_string_va(struct strbuf *buf, const char *fmt,
                                   va_list ap)
 {
-       if (fmt && *fmt && ap) {
+       if (fmt && *fmt) {
                va_list copy_ap;
 
                va_copy(copy_ap, ap);