diff --git a/ChangeLog b/ChangeLog index 5cfff6874..c4e2001cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-14 Paolo Bonzini + + * lightning/i386/core-32.h: Avoid some "value computed is not used" + warnings; reported by Sam Steingold. + 2008-03-08 Paolo Bonzini * lightning/i386/core-32.h: Fix stxr_c(_EAX, _EBX, _ESI). diff --git a/lightning/i386/core-32.h b/lightning/i386/core-32.h index 09e7f5ff0..34c9117ac 100644 --- a/lightning/i386/core-32.h +++ b/lightning/i386/core-32.h @@ -54,8 +54,8 @@ struct jit_local_state { #define jit_allocai_internal(amount, slack) \ (((amount) < _jitl.alloca_slack \ - ? 0 \ - : (_jitl.alloca_slack += (amount) + (slack), \ + ? (void)0 \ + : (void)(_jitl.alloca_slack += (amount) + (slack), \ ((amount) + (slack) == sizeof (int) \ ? PUSHLr(_EAX) \ : SUBLir((amount) + (slack), _ESP)))), \