* valprint.c (val_print_type_code_flags): Fix GNU coding standards

violation.
This commit is contained in:
Mark Kettenis 2006-08-22 21:36:05 +00:00
parent 2a1ce6ec59
commit 316703b918
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2006-08-22 Mark Kettenis <kettenis@gnu.org>
* valprint.c (val_print_type_code_flags): Fix GNU coding standards
violation.
* alpha-tdep.c (alpha_register_to_value, alpha_value_to_register)
(alpha_push_dummy_call, alpha_extract_return_value)
(alpha_breakpoint_from_pc, alpha_read_insn)

View File

@ -347,8 +347,8 @@ val_print_type_code_flags (struct type *type, const gdb_byte *valaddr,
fputs_filtered ("[ ", stream);
for (bitpos = 0; bitpos < nfields; bitpos++)
{
if (TYPE_FIELD_BITPOS (type, bitpos) != -1 &&
(val & ((ULONGEST)1 << bitpos)))
if (TYPE_FIELD_BITPOS (type, bitpos) != -1
&& (val & ((ULONGEST)1 << bitpos)))
{
if (TYPE_FIELD_NAME (type, bitpos))
fprintf_filtered (stream, "%s ", TYPE_FIELD_NAME (type, bitpos));