diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-02-13 23:45:49 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-02-16 09:21:10 +0100 |
| commit | a6dfe0e3b6329c63416514eccb251d4e35a28353 (patch) | |
| tree | f21537f185122ca313d0e77feabf1d371998c043 /validation | |
| parent | bdf0e7cbb34b4d914366fe00063ce1da85ee2667 (diff) | |
| download | sparse-dev-a6dfe0e3b6329c63416514eccb251d4e35a28353.tar.gz | |
no repetition in unknown attribute warning message
The warning message for unknown attributes is a bit longish and
uses the word 'attribute' twice.
Change the message for something more direct, shorter and without
repetition.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/Wunknown-attribute-yes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/Wunknown-attribute-yes.c b/validation/Wunknown-attribute-yes.c index 72538cf5..4b7fcc32 100644 --- a/validation/Wunknown-attribute-yes.c +++ b/validation/Wunknown-attribute-yes.c @@ -5,6 +5,6 @@ static int foo(void) __attribute__((unknown_attribute)); * check-command: sparse -Wunknown-attribute $file * * check-error-start -Wunknown-attribute-yes.c:1:37: warning: attribute 'unknown_attribute': unknown attribute +Wunknown-attribute-yes.c:1:37: warning: unknown attribute 'unknown_attribute' * check-error-end */ |
