Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trace2: remove dead code in maybe_add_string_va()
[gitweb.git]
/
trace2
/
tr2_tgt_normal.c
diff --git
a/trace2/tr2_tgt_normal.c
b/trace2/tr2_tgt_normal.c
index 00b116d797c844cd7320542a9829e94ee1e0311c..47a18825573b634008069fbf4b09b9f4a95d53b2 100644
(file)
--- a/
trace2/tr2_tgt_normal.c
+++ b/
trace2/tr2_tgt_normal.c
@@
-135,11
+135,6
@@
static void maybe_append_string_va(struct strbuf *buf, const char *fmt,
va_end(copy_ap);
return;
}
-
- if (fmt && *fmt) {
- strbuf_addstr(buf, fmt);
- return;
- }
}
static void fn_error_va_fl(const char *file, int line, const char *fmt,