Gerald Pfeifer : winedbg: Disable some dead code in expr_eval.

Alexandre Julliard julliard at winehq.org
Thu May 26 10:56:29 CDT 2011


Module: wine
Branch: master
Commit: 87c0e868be52189c0731519048cf34482f4df820
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=87c0e868be52189c0731519048cf34482f4df820

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun May 22 18:19:27 2011 +0200

winedbg: Disable some dead code in expr_eval.

---

 programs/winedbg/expr.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/programs/winedbg/expr.c b/programs/winedbg/expr.c
index 66cd701..7a1a262 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;
@@ -397,6 +396,7 @@ struct dbg_lvalue expr_eval(struct expr* exp)
         }
         break;
     case EXPR_TYPE_CALL:
+#if 0
         /*
          * First, evaluate all of the arguments.  If any of them are not
          * evaluable, then bail.
@@ -424,7 +424,6 @@ struct dbg_lvalue expr_eval(struct expr* exp)
             /* should never be here */
         }
 
-#if 0
         /* FIXME: NEWDBG NIY */
         /* Anyway, I wonder how this could work depending on the calling order of
          * the function (cdecl vs pascal for example)




More information about the wine-cvs mailing list