[PATCH 2/4] ieframe: Add missing return statements

Detlef Riekenberg wine.dev at web.de
Tue Jan 24 17:00:12 CST 2012


---
 dlls/ieframe/dochost.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/ieframe/dochost.c b/dlls/ieframe/dochost.c
index 5b0dd54..547e253 100644
--- a/dlls/ieframe/dochost.c
+++ b/dlls/ieframe/dochost.c
@@ -589,9 +589,11 @@ static HRESULT WINAPI ClOleCommandTarget_Exec(IOleCommandTarget *iface,
         switch(nCmdID) {
         case CMDID_EXPLORER_UPDATEHISTORY:
             update_travellog(This);
-            break;
+            return S_OK;
+
         default:
             FIXME("Unimplemented cmd %d of CGID_Explorer\n", nCmdID);
+            return E_NOTIMPL;
         }
     }
 
-- 
1.7.5.4




More information about the wine-patches mailing list