comctl32: Mark some fall-throughs in switch statements

Andrew Talbot andrew.talbot at talbotville.com
Sat Sep 24 10:28:25 CDT 2011


Changelog:
    comctl32: Mark some fall-throughs in switch statements.

diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index 374d4ee..ce44c9b 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -3460,6 +3460,7 @@ TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
     case WM_KILLFOCUS:
       TAB_KillFocus(infoPtr);
+      /* fall through */
     case WM_SETFOCUS:
       TAB_FocusChanging(infoPtr);
       break;   /* Don't disturb normal focus behavior */
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index fba9bce..65eea6e 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -2296,6 +2296,7 @@ static LRESULT TOOLBAR_Cust_AvailDragListNotification(const CUSTDLG_INFO *custIn
             /* add item */
             TOOLBAR_Cust_AddButton(custInfo, hwnd, nIndexFrom, nIndexTo);
         }
+        /* fall through */
     }
     case DL_CANCELDRAG:
         /* Clear drag arrow */



More information about the wine-patches mailing list