Huw Davies : winedbg: Return after raising an exception.
Alexandre Julliard
julliard at winehq.org
Mon Mar 20 17:16:46 CDT 2017
Module: wine
Branch: master
Commit: eba6bf44b3577ff98591a57e525a1da8dd736291
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eba6bf44b3577ff98591a57e525a1da8dd736291
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Mar 17 21:40:31 2017 +0000
winedbg: Return after raising an exception.
Fixes a compiler warning.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/winedbg/types.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index 5b24715..2df7572 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -80,11 +80,13 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
{
WINE_ERR("Couldn't get information\n");
RaiseException(DEBUG_STATUS_INTERNAL_ERROR, 0, 0, NULL);
+ return rtn;
}
if (size > sizeof(rtn))
{
WINE_ERR("Size too large (%s)\n", wine_dbgstr_longlong(size));
RaiseException(DEBUG_STATUS_NOT_AN_INTEGER, 0, 0, NULL);
+ return rtn;
}
switch (bt)
{
More information about the wine-cvs
mailing list