From: Julian Seward Date: Mon, 21 Jul 2014 07:55:45 +0000 (+0000) Subject: Initialise a couple of scalars that gcc -Og thinks might be X-Git-Tag: svn/VALGRIND_3_10_1^2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d64382da7ef28d5f1de3b8d4b523670f3b6c5034;p=thirdparty%2Fvalgrind.git Initialise a couple of scalars that gcc -Og thinks might be uninitialised, presumably because at -Og it doesn't do enough block straightening-outening or whatever to see that they are always assigned before use. git-svn-id: svn://svn.valgrind.org/vex/trunk@2906 --- diff --git a/VEX/priv/guest_arm_toIR.c b/VEX/priv/guest_arm_toIR.c index ff2ebdfd4b..c0bf0a78cd 100644 --- a/VEX/priv/guest_arm_toIR.c +++ b/VEX/priv/guest_arm_toIR.c @@ -3657,8 +3657,8 @@ Bool dis_neon_data_3same ( UInt theInstr, IRTemp condT ) case 4: if (B == 0) { /* VSHL */ - IROp op, sub_op; - IRTemp tmp; + IROp op = Iop_INVALID, sub_op = Iop_INVALID; + IRTemp tmp = IRTemp_INVALID; if (U) { switch (size) { case 0: op = Q ? Iop_Shl8x16 : Iop_Shl8x8; break;