]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
tcg-sparc: Fix set-but-not used warnings.
authorRichard Henderson <rth@twiddle.net>
Wed, 9 Nov 2011 18:03:35 +0000 (10:03 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 19 Nov 2011 11:20:26 +0000 (11:20 +0000)
commitb08d26b76d51fb2695912373ded53b628ec96320
tree78d647722b11e0d281d2d73571c49230b5608728
parent25cc4a768d91817bc3b4bf9b3a270c4791509cd7
tcg-sparc: Fix set-but-not used warnings.

In both cases, val is computed, but then not used in the
subsequent line, which then re-computes the quantity in
a different type (int32_t vs unsigned long).

Keep the computation type that's been working so far.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/sparc/tcg-target.c