winedbg: Add explicit return in the error case of print_typed_basic.
Gerald Pfeifer
gerald at pfeifer.com
Sat Aug 9 20:38:49 CDT 2014
Without this, I got a warning from clang.
Gerald
---
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)
--
2.0.2
More information about the wine-patches
mailing list