commit 2ba68f2545e363fc6ceac514f32a84e7cd54df0e
Author: Francois Gouget <fgouget@free.fr>
Date:   Wed Jan 14 11:41:03 2009 +0100

    winedbg: expr_alloc_uconstant() is unused so remove it and the corresponding dead code.

diff --git a/programs/winedbg/debugger.h b/programs/winedbg/debugger.h
index 319f0dc..cc82a03 100644
--- a/programs/winedbg/debugger.h
+++ b/programs/winedbg/debugger.h
@@ -324,7 +324,6 @@ extern void             expr_free_all(void);
 extern struct expr*     expr_alloc_internal_var(const char* name);
 extern struct expr*     expr_alloc_symbol(const char* name);
 extern struct expr*     expr_alloc_sconstant(int val);
-extern struct expr*     expr_alloc_uconstant(unsigned val);
 extern struct expr*     expr_alloc_string(const char* str);
 extern struct expr*     expr_alloc_binary_op(int oper, struct expr*, struct expr*);
 extern struct expr*     expr_alloc_unary_op(int oper, struct expr*);
diff --git a/programs/winedbg/expr.c b/programs/winedbg/expr.c
index 3d5cef1..02e8b4c 100644
--- a/programs/winedbg/expr.c
+++ b/programs/winedbg/expr.c
@@ -100,7 +100,6 @@ struct expr
 };
 
 #define EXPR_TYPE_S_CONST	0
-#define EXPR_TYPE_U_CONST	1
 #define EXPR_TYPE_SYMBOL	2
 #define EXPR_TYPE_INTVAR	3
 #define EXPR_TYPE_BINOP		4
@@ -176,17 +175,6 @@ struct expr* expr_alloc_sconstant(int value)
     return ex;
 }
 
-struct expr* expr_alloc_uconstant(unsigned int value)
-{
-    struct expr*        ex;
-
-    ex = expr_alloc();
-
-    ex->type             = EXPR_TYPE_U_CONST;
-    ex->un.u_const.value = value;
-    return ex;
-}
-
 struct expr* expr_alloc_string(const char* str)
 {
     struct expr*        ex;
@@ -348,12 +336,6 @@ struct dbg_lvalue expr_eval(struct expr* exp)
         rtn.type.module = 0;
         rtn.addr.Offset = (ULONG_PTR)&exp->un.string.str;
         break;
-    case EXPR_TYPE_U_CONST:
-        rtn.cookie      = DLV_HOST;
-        rtn.type.id     = dbg_itype_unsigned_int;
-        rtn.type.module = 0;
-        rtn.addr.Offset = (ULONG_PTR)&exp->un.u_const.value;
-        break;
     case EXPR_TYPE_S_CONST:
         rtn.cookie      = DLV_HOST;
         rtn.type.id     = dbg_itype_signed_int;
@@ -689,9 +671,6 @@ int expr_print(const struct expr* exp)
     case EXPR_TYPE_INTVAR:
         dbg_printf("$%s", exp->un.intvar.name);
         break;
-    case EXPR_TYPE_U_CONST:
-        dbg_printf("%u", exp->un.u_const.value);
-        break;
     case EXPR_TYPE_S_CONST:
         dbg_printf("%d", exp->un.s_const.value);
         break;
@@ -789,7 +768,6 @@ struct expr* expr_clone(const struct expr* exp, BOOL *local_binding)
     case EXPR_TYPE_INTVAR:
         rtn->un.intvar.name = strcpy(HeapAlloc(GetProcessHeap(), 0, strlen(exp->un.intvar.name) + 1), exp->un.intvar.name);
         break;
-    case EXPR_TYPE_U_CONST:
     case EXPR_TYPE_S_CONST:
         break;
     case EXPR_TYPE_STRING:
@@ -845,7 +823,6 @@ int expr_free(struct expr* exp)
     case EXPR_TYPE_INTVAR:
         HeapFree(GetProcessHeap(), 0, (char*)exp->un.intvar.name);
         break;
-    case EXPR_TYPE_U_CONST:
     case EXPR_TYPE_S_CONST:
         break;
     case EXPR_TYPE_STRING:
