From c1dbe8a19eb6b10760ff4bf674d1a4ee124f9211 Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Sat, 7 Dec 2013 23:42:43 +0000 Subject: [PATCH] added default fallthrough clause to switch at line 178 of src/UI/Window.cpp --- src/UI/Window.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/UI/Window.cpp b/src/UI/Window.cpp index 402a5cdf2..ee75921d1 100644 --- a/src/UI/Window.cpp +++ b/src/UI/Window.cpp @@ -201,6 +201,10 @@ void cWindow::Clicked( case caRightPaintProgress: OnPaintProgress(a_Player, a_SlotNum); return; case caLeftPaintEnd: OnLeftPaintEnd (a_Player); return; case caRightPaintEnd: OnRightPaintEnd(a_Player); return; + default: + { + break; + } } if (a_SlotNum < 0)