Module: wine Branch: master Commit: 02933a11dec29d3e7d17e21de49661184a95b2e4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=02933a11dec29d3e7d17e21de4...
Author: Michael Stefaniuc mstefani@redhat.de Date: Thu Jul 19 01:12:52 2007 +0200
dlls: Remove unreachable break after return/break. Found by Smatch.
---
dlls/comctl32/ipaddress.c | 1 - dlls/msi/cond.y | 1 - dlls/sane.ds/ui.c | 1 - dlls/user32/tests/win.c | 1 - dlls/winex11.drv/init.c | 1 - 5 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/comctl32/ipaddress.c b/dlls/comctl32/ipaddress.c index cdc3e94..76e4101 100644 --- a/dlls/comctl32/ipaddress.c +++ b/dlls/comctl32/ipaddress.c @@ -546,7 +546,6 @@ IPADDRESS_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_ENABLE: return IPADDRESS_Enable (infoPtr, (BOOL)wParam); - break;
case WM_PAINT: return IPADDRESS_Paint (infoPtr, (HDC)wParam); diff --git a/dlls/msi/cond.y b/dlls/msi/cond.y index 8612ffe..9f1a74c 100644 --- a/dlls/msi/cond.y +++ b/dlls/msi/cond.y @@ -597,7 +597,6 @@ static int COND_GetOne( struct cond_str *str, COND_input *cond ) case '%': rc = COND_PERCENT; break; case ' ': rc = COND_SPACE; break; case '=': rc = COND_EQ; break; - break;
case '~': case '<': diff --git a/dlls/sane.ds/ui.c b/dlls/sane.ds/ui.c index fe5270a..18fd8de 100644 --- a/dlls/sane.ds/ui.c +++ b/dlls/sane.ds/ui.c @@ -982,7 +982,6 @@ static INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM return InitializeDialog(hwndDlg); case WM_HSCROLL: return ProcessScroll(hwndDlg, wParam, lParam); - break; case WM_NOTIFY: { LPPSHNOTIFY psn = (LPPSHNOTIFY)lParam; diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index df20302..dc179f1 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -3326,7 +3326,6 @@ static LRESULT WINAPI redraw_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LP return 1; } return 0; - break; } return DefWindowProc(hwnd, msg, wparam, lparam); } diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c index b773f9a..4bb44f2 100644 --- a/dlls/winex11.drv/init.c +++ b/dlls/winex11.drv/init.c @@ -431,7 +431,6 @@ INT X11DRV_ExtEscape( X11DRV_PDEVICE *physDev, INT escape, INT in_count, LPCVOID return TRUE; } return FALSE; - break; } } break;