From 07b4af87ae4900f219bee3cdb99ab3290237317d Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Mon, 11 Nov 2019 02:12:02 +0900 Subject: [PATCH] Removed compiler warning of unused variable --- src/AutoConnectUploadImpl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AutoConnectUploadImpl.h b/src/AutoConnectUploadImpl.h index bb191e2..c181227 100644 --- a/src/AutoConnectUploadImpl.h +++ b/src/AutoConnectUploadImpl.h @@ -186,6 +186,9 @@ class AutoConnectUploadSD : public AutoConnectUploadHandler { sdVerify = (const char*)"UNKNOWN"; break; } +#endif +#ifndef AC_DEBUG + AC_UNUSED(sdVerify); #endif AC_DBG("%s mounted\n", sdVerify); _file = _media->open(filename, oflag);