Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/interpret-trailers-docfix'
[gitweb.git]
/
trace2
/
tr2_tgt_normal.c
diff --git
a/trace2/tr2_tgt_normal.c
b/trace2/tr2_tgt_normal.c
index 547183d5b64169acfc1e8f9b1f62501de36240ef..1a07d70abd6de281fc2a865f026fbb2e426adf96 100644
(file)
--- a/
trace2/tr2_tgt_normal.c
+++ b/
trace2/tr2_tgt_normal.c
@@
-126,7
+126,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);