From a2a3844d3d684d15ea42b1e35c6df275be597c48 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Fri, 24 May 2019 18:15:32 -0230 Subject: [PATCH] Silence warning from clang. --- src/common/PKeyboardHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/PKeyboardHandler.cxx b/src/common/PKeyboardHandler.cxx index fae182383..624a81769 100644 --- a/src/common/PKeyboardHandler.cxx +++ b/src/common/PKeyboardHandler.cxx @@ -256,7 +256,7 @@ bool PhysicalKeyboardHandler::addMapping(Event::Type event, EventMode mode, StellaKey key) { // These keys cannot be remapped - if(key == KBDK_TAB && mode == EventMode::kMenuMode || Event::isAnalog(event)) + if((key == KBDK_TAB && mode == EventMode::kMenuMode) || Event::isAnalog(event)) return false; else myKeyTable[key][mode] = event;