From 8d6f3c245039280bff3c0f023105aa0daf483f54 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 2 Nov 2017 14:48:22 +0800 Subject: [PATCH] Fix build error on release builds --- jni/include/logging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/include/logging.h b/jni/include/logging.h index dc3418fa4..e36b719fd 100644 --- a/jni/include/logging.h +++ b/jni/include/logging.h @@ -18,7 +18,7 @@ #ifdef MAGISK_DEBUG #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) #else -#define LOGD(...) {} +#define LOGD(...) #endif #define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) #define LOGW(...) __android_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__)