dlls: Remove unreachable break after return/break. Found by Smatch.
Michael Stefaniuc
mstefani at redhat.de
Wed Jul 18 18:12:52 CDT 2007
---
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;
--
1.5.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070719/dc713d7e/attachment.pgp
More information about the wine-patches
mailing list