]> git.saurik.com Git - wxWidgets.git/commitdiff
break after return makes 'Unreachable code' warnings.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 16 Aug 2004 12:51:48 +0000 (12:51 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 16 Aug 2004 12:51:48 +0000 (12:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/stockitem.cpp

index b065203e8ff042771a81a43ff95f6b4ac03af6d8..303b338c4499fd8eeeeeedadba4bfad7b1f8292f 100644 (file)
@@ -35,8 +35,7 @@ wxString wxGetStockItemLabel(wxStockItemID item)
 {
     #define STOCKITEM(stockid, label) \
         case stockid:                 \
-            return label;             \
-            break;
+            return label;
 
     switch (item)
     {