sane.ds: Return directly in nested switch-case (Coverity)
André Hentschel
nerv at dawncrow.de
Thu Nov 22 07:51:16 CST 2012
CID 214858
---
dlls/sane.ds/ui.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/sane.ds/ui.c b/dlls/sane.ds/ui.c
index 815478d..5f9c6e3 100644
--- a/dlls/sane.ds/ui.c
+++ b/dlls/sane.ds/ui.c
@@ -1000,14 +1000,14 @@ static INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
if (activeDS.windowMessage)
PostMessageA(activeDS.hwndOwner, activeDS.windowMessage, MSG_XFERREADY, 0);
}
- break;
+ return FALSE;
case PSN_QUERYCANCEL:
if (activeDS.windowMessage)
PostMessageA(activeDS.hwndOwner, activeDS.windowMessage, MSG_CLOSEDSREQ, 0);
- break;
+ return FALSE;
case PSN_SETACTIVE:
InitializeDialog(hwndDlg);
- break;
+ return FALSE;
}
}
case WM_COMMAND:
--
1.8.0
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list