commit | 7746546b89bf2da44eb058a4053dd4505d00d824 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Mon Apr 13 16:56:38 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Apr 13 16:56:39 2015 +0000 |
tree | d4c5960fe77cbe88d98f8499fed434726907178f | |
parent | b9a41bdb079932d2ce119b4c8e6615531a6471e0 [diff] | |
parent | 77d7e81c1c06fe47b07c3252cb21de86dbaedcd5 [diff] |
Merge "logcat: build regression"
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index 5db539f..2b19b93 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp
@@ -342,12 +342,10 @@ static void logcat_panic(bool showHelp, const char *fmt, ...) { - if (fmt) { - va_list args; - va_start(args, fmt); - vfprintf(stderr, fmt, args); - va_end(args); - } + va_list args; + va_start(args, fmt); + vfprintf(stderr, fmt, args); + va_end(args); if (showHelp) { show_help(getprogname());