* p-lang.c (is_pascal_string_type): Remove unneeded parentheses.

* p-valprint.c (pascal_val_print): Remove undeed block and fix
	indentation.
This commit is contained in:
Pierre Muller 2010-03-09 08:30:54 +00:00
parent cea1040956
commit e13eedd538
3 changed files with 105 additions and 98 deletions

View file

@ -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. */