am 7746546b: Merge "logcat: build regression"
* commit '7746546b89bf2da44eb058a4053dd4505d00d824':
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());