From a99bece3fa7922f939c4a5153effa170dad336cf Mon Sep 17 00:00:00 2001 From: worktycho Date: Mon, 9 Dec 2013 13:57:09 +0000 Subject: [PATCH] Fixed Warning Unhandeled enum values in switch as src/UI/SlotArea.cpp line 54 --- src/UI/SlotArea.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp index e743f4bb3..2925d1226 100644 --- a/src/UI/SlotArea.cpp +++ b/src/UI/SlotArea.cpp @@ -1,4 +1,3 @@ - // SlotArea.cpp // Implements the cSlotArea class and its descendants @@ -65,6 +64,10 @@ void cSlotArea::Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_ClickA DblClicked(a_Player, a_SlotNum); return; } + default: + { + break; + } } cItem Slot(*GetSlot(a_SlotNum, a_Player));