* m2-typeprint.c (m2_record_fields): Move variable declarations
to the begining of the block.
+
+ * m2-typeprint.c (m2_record_fields): Move variable declarations
+ to the begining of the block.
+
* mt-tdep.c (mt_register_name): Correct out-of-range logic to
}
else if (show > 0)
{
+ int i;
+ int len = TYPE_NFIELDS (type);
+
if (TYPE_CODE (type) == TYPE_CODE_STRUCT)
fprintf_filtered (stream, "RECORD\n");
else if (TYPE_CODE (type) == TYPE_CODE_UNION)
/* i18n: Do not translate "CASE" and "OF" */
fprintf_filtered (stream, _("CASE <variant> OF\n"));
- int i;
- int len = TYPE_NFIELDS (type);
for (i = TYPE_N_BASECLASSES (type); i < len; i++)
{