Detlef Riekenberg : ieframe: Add missing return statements.

Alexandre Julliard julliard at winehq.org
Wed Jan 25 15:14:03 CST 2012


Module: wine
Branch: master
Commit: 1cf886d7c951cd575e23d804ff6763826a43f71c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1cf886d7c951cd575e23d804ff6763826a43f71c

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Wed Jan 25 00:00:12 2012 +0100

ieframe: Add missing return statements.

---

 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;
         }
     }
 




More information about the wine-cvs mailing list