Gerald Pfeifer : winedbg: Add explicit return in the error case of print_typed_basic.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 11 17:03:46 CDT 2014


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Aug  9 20:38:49 2014 -0500

winedbg: Add explicit return in the error case of print_typed_basic.

---

 programs/winedbg/memory.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/winedbg/memory.c b/programs/winedbg/memory.c
index af99229..78a0493 100644
--- a/programs/winedbg/memory.c
+++ b/programs/winedbg/memory.c
@@ -367,6 +367,7 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue)
         {
             WINE_ERR("Couldn't get information\n");
             RaiseException(DEBUG_STATUS_INTERNAL_ERROR, 0, 0, NULL);
+            return;
         }
         size = (DWORD)size64;
         switch (bt)




More information about the wine-cvs mailing list