winedbg: Disable some dead code in expr_eval.
Gerald Pfeifer
gerald at pfeifer.com
Sun Jan 2 17:00:41 CST 2011
Alternately, should we remove the hunk of code that uses cexp[]
but has been if #0-ed?
Gerald
---
programs/winedbg/expr.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/expr.c b/programs/winedbg/expr.c
index 66cd701..2d61550 100644
--- a/programs/winedbg/expr.c
+++ b/programs/winedbg/expr.c
@@ -278,7 +278,6 @@ struct dbg_lvalue expr_eval(struct expr* exp)
int i;
struct dbg_lvalue exp1;
struct dbg_lvalue exp2;
- unsigned int cexp[5];
DWORD64 scale1, scale2, scale3;
struct dbg_type type1, type2;
DWORD tag;
@@ -406,7 +405,9 @@ struct dbg_lvalue expr_eval(struct expr* exp)
exp1 = expr_eval(exp->un.call.arg[i]);
if (exp1.type.id == dbg_itype_none)
RaiseException(DEBUG_STATUS_BAD_TYPE, 0, 0, NULL);
+#if 0
cexp[i] = types_extract_as_integer(&exp1);
+#endif
}
/*
--
1.7.2.2
More information about the wine-patches
mailing list