aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/igen/gen.c')
-rw-r--r--sim/igen/gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/igen/gen.c b/sim/igen/gen.c
index 7c24b46..156c929 100644
--- a/sim/igen/gen.c
+++ b/sim/igen/gen.c
@@ -1025,9 +1025,9 @@ gen_entry_expand_opcode (gen_entry *table,
}
case insn_field_cond_field:
{
- int value;
+ int value = -1;
opcode_bits *bit;
- gen_entry *t;
+ gen_entry *t = NULL;
/* Try to find a value for the
conditional by looking back through
the previously defined bits for one