wingo pushed a commit to branch lightning
in repository guile.
commit 15a23d2a7c5ad2b3a29817a29ba59c47f0d60674
Author: Paolo Bonzini <[email protected]>
Date: Sun Mar 16 20:45:27 2008 +0100
avoid "value computed is not used" in jit_allocai
2008-03-14 Paolo Bonzini <[email protected]>
* lightning/i386/core-32.h: Avoid some "value computed is not used"
warnings; reported by Sam Steingold.
---
ChangeLog | 5 +++++
lightning/i386/core-32.h | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5cfff68..c4e2001 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-14 Paolo Bonzini <[email protected]>
+
+ * lightning/i386/core-32.h: Avoid some "value computed is not used"
+ warnings; reported by Sam Steingold.
+
2008-03-08 Paolo Bonzini <[email protected]>
* 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 09e7f5f..34c9117 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)))), \