Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/untracked-cache-more-fixes'
[gitweb.git]
/
trace2
/
tr2_tgt_event.c
diff --git
a/trace2/tr2_tgt_event.c
b/trace2/tr2_tgt_event.c
index 107cb5317d2270ccf8b54727fb55f4526a503c24..1cf4f62441c9307d610ebb0274ddb272ec2b8f01 100644
(file)
--- a/
trace2/tr2_tgt_event.c
+++ b/
trace2/tr2_tgt_event.c
@@
-190,7
+190,7
@@
static void fn_atexit(uint64_t us_elapsed_absolute, int code)
static void maybe_add_string_va(struct json_writer *jw, const char *field_name,
const char *fmt, va_list ap)
{
- if (fmt && *fmt
&& ap
) {
+ if (fmt && *fmt) {
va_list copy_ap;
struct strbuf buf = STRBUF_INIT;