Remove duplicate word from error message.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 15 May 2012 08:14:43 +0000 (10:14 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 15 May 2012 08:15:14 +0000 (10:15 +0200)
%N prints the entity kind, too.

parser.c

index 4677836..d517bd8 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -3740,7 +3740,7 @@ static entity_t *parse_declarator(const declaration_specifiers_t *specifiers,
                                        }
                                }
                                if (invalid_storage_class) {
-                                       errorf(&env.source_position, "invalid storage class for variable '%N'", entity);
+                                       errorf(&env.source_position, "invalid storage class for '%N'", entity);
                                }
                        }
                }