Huw Davies : winedbg: Return after raising an exception.
Alexandre Julliard
julliard at winehq.org
Tue Jan 2 15:01:28 CST 2018
Module: wine
Branch: stable
Commit: d746db81b8b1ef6fc53605d46671d6c78faf192b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d746db81b8b1ef6fc53605d46671d6c78faf192b
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>
(cherry picked from commit eba6bf44b3577ff98591a57e525a1da8dd736291)
Signed-off-by: Michael Stefaniuc <mstefani 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