From 60c45a75c5f24bd07fef27fec1e36d1c66ee245c Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 8 May 2013 08:56:45 +0000 Subject: [PATCH] Get rid of gcc warning on non-MIPS platforms. git-svn-id: svn://svn.valgrind.org/vex/trunk@2718 --- VEX/priv/host_mips_isel.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.47.2