From 500820b3520bc13ab639911293b7e2bd9b8d6518 Mon Sep 17 00:00:00 2001 From: Jun Su Date: Mon, 23 Mar 2020 16:28:25 +0800 Subject: [PATCH] Cleanup warnings of -Wunused-const-variable --- Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp | 1 - Source/Core/UICommon/AutoUpdate.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp index 4153c7197afd..2a737244a64e 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp +++ b/Source/Core/Core/HW/GCMemcard/GCMemcardDirectory.cpp @@ -31,7 +31,6 @@ #include "Core/Core.h" #include "Core/NetPlayProto.h" -const int NO_INDEX = -1; static const char* MC_HDR = "MC_SYSTEM_AREA"; bool GCMemcardDirectory::LoadGCI(GCIFile gci) diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp index 0cca98b4b20b..b7c26fb70765 100644 --- a/Source/Core/UICommon/AutoUpdate.cpp +++ b/Source/Core/UICommon/AutoUpdate.cpp @@ -43,9 +43,9 @@ const char UPDATER_RELOC_FILENAME[] = ".Dolphin Updater.2.app"; #endif +#ifdef OS_SUPPORTS_UPDATER const char UPDATER_LOG_FILE[] = "Updater.log"; -#ifdef OS_SUPPORTS_UPDATER std::string MakeUpdaterCommandLine(const std::map& flags) { #ifdef __APPLE__