From: Julian Seward Date: Wed, 8 May 2013 08:56:45 +0000 (+0000) Subject: Get rid of gcc warning on non-MIPS platforms. X-Git-Tag: svn/VALGRIND_3_9_0^2~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60c45a75c5f24bd07fef27fec1e36d1c66ee245c;p=thirdparty%2Fvalgrind.git Get rid of gcc warning on non-MIPS platforms. git-svn-id: svn://svn.valgrind.org/vex/trunk@2718 --- diff --git a/VEX/priv/host_mips_isel.c b/VEX/priv/host_mips_isel.c index 0187452c36..404b8da172 100644 --- a/VEX/priv/host_mips_isel.c +++ b/VEX/priv/host_mips_isel.c @@ -365,6 +365,10 @@ static HReg mk_LoadRR32toFPR(ISelEnv * env, HReg r_srcHi, HReg r_srcLo) #elif defined (_MIPSEB) addInstr(env, MIPSInstr_Store(4, am_addr0, r_srcHi, mode64)); addInstr(env, MIPSInstr_Store(4, am_addr1, r_srcLo, mode64)); +#else + /* Stop gcc on other platforms complaining about am_addr1 being set + but not used. */ + (void)am_addr1; #endif /* load as float */