From 8526f2e8f634dc7a03fc0732486cf81a98d964e0 Mon Sep 17 00:00:00 2001 From: staphen Date: Sat, 15 Mar 2025 18:49:37 -0400 Subject: [PATCH] Fix warning about not handling enumeration value 'None' --- Source/control.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/control.cpp b/Source/control.cpp index 61a5e9954..ca861e65d 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -1458,6 +1458,8 @@ void DrawDeathText(const Surface &out) case ControlTypes::VirtualGamepad: buttonText = _("Menu Button"); break; + default: + break; } if (!gbIsMultiplayer) {