diff options
author | Pierre Muller <muller@sourceware.org> | 2010-03-09 08:30:54 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-03-09 08:30:54 +0000 |
commit | e13eedd5386562ae753f4b5d50bceb63692b1ac9 (patch) | |
tree | e939bdc69f114fdf62ea1840bd3bf2043c57dcfd /gdb/p-lang.c | |
parent | cea104095654241bf3055ee31e910ceaffae4487 (diff) | |
download | gdb-e13eedd5386562ae753f4b5d50bceb63692b1ac9.zip gdb-e13eedd5386562ae753f4b5d50bceb63692b1ac9.tar.gz gdb-e13eedd5386562ae753f4b5d50bceb63692b1ac9.tar.bz2 |
* p-lang.c (is_pascal_string_type): Remove unneeded parentheses.
* p-valprint.c (pascal_val_print): Remove undeed block and fix
indentation.
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r-- | gdb/p-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c index 0db99a4..415cd99 100644 --- a/gdb/p-lang.c +++ b/gdb/p-lang.c @@ -101,7 +101,7 @@ is_pascal_string_type (struct type *type,int *length_pos, struct type **char_type, char **arrayname) { - if ((type != NULL) && (TYPE_CODE (type) == TYPE_CODE_STRUCT)) + if (type != NULL && TYPE_CODE (type) == TYPE_CODE_STRUCT) { /* Old Borland type pascal strings from Free Pascal Compiler. */ /* Two fields: length and st. */ |