* config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body

in release builds.
This commit is contained in:
Alan Modra 2009-10-18 08:20:17 +00:00
parent 76748ada53
commit a75b90823c
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-10-18 Matthias Klose <doko@ubuntu.com>
* config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
in release builds.
2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10775

View file

@ -2489,7 +2489,9 @@ make_mapping_symbol (enum mstate state, valueT value, fragS *frag)
frag->tc_frag_data.first_map = symbolP;
}
if (frag->tc_frag_data.last_map != NULL)
know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));
{
know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));
}
frag->tc_frag_data.last_map = symbolP;
}