From b39a4e830075098748103937ca6080945166f245 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 16 Aug 2004 12:51:48 +0000 Subject: [PATCH] break after return makes 'Unreachable code' warnings. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/stockitem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/stockitem.cpp b/src/common/stockitem.cpp index b065203e8f..303b338c44 100644 --- a/src/common/stockitem.cpp +++ b/src/common/stockitem.cpp @@ -35,8 +35,7 @@ wxString wxGetStockItemLabel(wxStockItemID item) { #define STOCKITEM(stockid, label) \ case stockid: \ - return label; \ - break; + return label; switch (item) { -- 2.50.0