From: Julian Seward Date: Thu, 14 Oct 2004 21:48:59 +0000 (+0000) Subject: Fix various compilation warnings, all insignificant. X-Git-Tag: svn/VALGRIND_3_0_1^2~990 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c6dbc0a0788ea244efb979eecf66e657d8c819c;p=thirdparty%2Fvalgrind.git Fix various compilation warnings, all insignificant. git-svn-id: svn://svn.valgrind.org/vex/trunk@344 --- diff --git a/VEX/priv/guest-x86/toIR.c b/VEX/priv/guest-x86/toIR.c index b6291193fe..f237cacedd 100644 --- a/VEX/priv/guest-x86/toIR.c +++ b/VEX/priv/guest-x86/toIR.c @@ -4081,10 +4081,6 @@ UInt dis_FPU ( Bool* decode_ok, UChar sorb, UInt delta ) else vpanic("dis_FPU(x86): invalid primary opcode"); - decode_success: - *decode_ok = True; - return delta; - decode_fail: *decode_ok = False; return delta; diff --git a/VEX/priv/host-x86/isel.c b/VEX/priv/host-x86/isel.c index 306a9584fc..a779a90cf2 100644 --- a/VEX/priv/host-x86/isel.c +++ b/VEX/priv/host-x86/isel.c @@ -112,16 +112,22 @@ static IRExpr* unop ( IROp op, IRExpr* a ) return IRExpr_Unop(op, a); } +#if 0 +/* Apparently unused. */ static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) { return IRExpr_Binop(op, a1, a2); } +#endif +#if 0 +/* Apparently unused. */ static IRExpr* mkU8 ( UInt i ) { vassert(i < 256); return IRExpr_Const(IRConst_U8(i)); } +#endif static IRExpr* bind ( Int binder ) { @@ -1684,7 +1690,7 @@ static HReg iselFltExpr ( ISelEnv* env, IRExpr* e ) static HReg iselDblExpr ( ISelEnv* env, IRExpr* e ) { - MatchInfo mi; + /* MatchInfo mi; */ IRType ty = typeOfIRExpr(env->type_env,e); vassert(e); vassert(ty == Ity_F64);