Gerald Pfeifer : winedbg: Avoid a compiler warning about " use of uninitialized" in in types_extract_as_longlong.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 25 15:58:17 CDT 2014
Module: wine
Branch: master
Commit: ab8e9d23a08b5bf69d88fa48d9e62d96dffe38ee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ab8e9d23a08b5bf69d88fa48d9e62d96dffe38ee
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sun Aug 24 00:40:56 2014 +0200
winedbg: Avoid a compiler warning about "use of uninitialized" in in types_extract_as_longlong.
---
programs/winedbg/types.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index 03c69ab..de790c7 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -123,7 +123,7 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
default:
WINE_FIXME("Unsupported tag %u\n", tag);
RaiseException(DEBUG_STATUS_NOT_AN_INTEGER, 0, 0, NULL);
- break;
+ rtn = 0;
}
return rtn;
More information about the wine-cvs
mailing list