Ensure *valuep always written by extract_normal return
[deliverable/binutils-gdb.git] / opcodes / iq2000-ibld.c
index 1e5cc4772eaf732bd90b20bc45b8129229a8f69f..319e994d84050417775689e14b7997ac0747ab0a 100644 (file)
@@ -480,7 +480,10 @@ extract_normal (CGEN_CPU_DESC cd,
        abort ();
 
       if (fill_cache (cd, ex_info, word_offset / 8, word_length / 8, pc) == 0)
-       return 0;
+       {
+         *valuep = 0;
+         return 0;
+       }
 
       value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc);
     }
This page took 0.040387 seconds and 4 git commands to generate.