diff options
author | Zoltan Varga <vargaz@gmail.com> | 2010-08-25 19:22:18 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2010-08-25 19:22:18 +0400 |
commit | bd6a37183b1a4a99760945ddaf3d55237aca4f52 (patch) | |
tree | c5925850247c95a31b043d80b3ff3d0cf3a251b8 | |
parent | 34a3e9678cc65e2438c6e59c5d0f4d2f6f84226b (diff) |
Fix a warning.
-rw-r--r-- | mono/mini/method-to-ir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mono/mini/method-to-ir.c b/mono/mini/method-to-ir.c index c402d1fb581..8faab0bb3ae 100644 --- a/mono/mini/method-to-ir.c +++ b/mono/mini/method-to-ir.c @@ -2596,7 +2596,6 @@ emit_write_barrier (MonoCompile *cfg, MonoInst *ptr, MonoInst *value, int value_ #ifdef HAVE_SGEN_GC int card_table_shift_bits; guint8 *card_table = mono_gc_get_card_table (&card_table_shift_bits); - gboolean need_dummy_use = TRUE; MonoInst *dummy_use; #ifdef MONO_ARCH_HAVE_CARD_TABLE_WBARRIER @@ -2615,8 +2614,6 @@ emit_write_barrier (MonoCompile *cfg, MonoInst *ptr, MonoInst *value, int value_ else wbarrier->sreg2 = value_reg; MONO_ADD_INS (cfg->cbb, wbarrier); - - need_dummy_use = FALSE; } #else if (card_table) { |