aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2006-08-22 21:36:05 +0000
committerMark Kettenis <kettenis@gnu.org>2006-08-22 21:36:05 +0000
commit316703b918ffb0c2ad2d6dd237160365a098efaa (patch)
treee2e55e15126c53aa2e4c8456354f0d17380da7b8 /gdb/valprint.c
parent2a1ce6ec59fb999324195ca654de1e6d0ad97c5d (diff)
downloadgdb-316703b918ffb0c2ad2d6dd237160365a098efaa.zip
gdb-316703b918ffb0c2ad2d6dd237160365a098efaa.tar.gz
gdb-316703b918ffb0c2ad2d6dd237160365a098efaa.tar.bz2
* valprint.c (val_print_type_code_flags): Fix GNU coding standards
violation.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 4f834f2..209414d 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -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));