From 64113a69b41e806478b8e135ccfd8abcffd33dbb Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 26 Sep 2019 13:54:40 -0400 Subject: [PATCH] Remove unused warnings --- native/jni/utils/logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/jni/utils/logging.cpp b/native/jni/utils/logging.cpp index 7b3a2c14d..def930461 100644 --- a/native/jni/utils/logging.cpp +++ b/native/jni/utils/logging.cpp @@ -29,7 +29,7 @@ void no_logging() { #define LOG_TAG "Magisk" -static int log_d(const char *fmt, va_list ap) { +[[maybe_unused]] static int log_d(const char *fmt, va_list ap) { return __android_log_vprint(ANDROID_LOG_DEBUG, LOG_TAG, fmt, ap); }