gdb/
[deliverable/binutils-gdb.git] / gdb / ada-valprint.c
index 95ec7ecdb5ce21cceb7c00b19141b1f5cd83e650..ca30e42c5d750e467e6bb1d6df0e54dea2e15d4c 100644 (file)
@@ -730,9 +730,8 @@ ada_val_print_1 (struct type *type, const gdb_byte *valaddr,
       if (ada_is_fixed_point_type (type))
        {
          LONGEST v = unpack_long (type, valaddr + offset_aligned);
-         int len = TYPE_LENGTH (type);
 
-         fprintf_filtered (stream, len < 4 ? "%.11g" : "%.17g",
+         fprintf_filtered (stream, TYPE_LENGTH (type) < 4 ? "%.11g" : "%.17g",
                            (double) ada_fixed_to_float (type, v));
          return;
        }
This page took 0.023411 seconds and 4 git commands to generate.