From ecc611748cb084b12ba330255452c7547df2c526 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 4 Feb 2021 14:25:48 +0100 Subject: [PATCH] Fixing a warning when debuggers are disabled --- sources/SNES.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/SNES.cpp b/sources/SNES.cpp index 004dc1e..2ea7edb 100644 --- a/sources/SNES.cpp +++ b/sources/SNES.cpp @@ -40,6 +40,8 @@ namespace ComSquare #ifdef DEBUGGER_ENABLED auto cpuDebug = std::static_pointer_cast(this->cpu); cpuDebug->showError(exception); + #else + (void)exception; #endif }