diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-09-09 23:17:29 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-09-13 12:34:41 +0200 |
commit | 00ec716b4db371f0e28880e95539b10208f19d37 (patch) | |
tree | 361463e5c2d21b2fe60634e08f3b2b48499202f3 /lib/cache_segtype | |
parent | 9ba76450f4a206ee48b0b6e49d35c2c33032bb58 (diff) | |
download | lvm2-00ec716b4db371f0e28880e95539b10208f19d37.tar.gz |
gcc: remove invalid attribute
In this function parameter 'attribute' is used.
Diffstat (limited to 'lib/cache_segtype')
-rw-r--r-- | lib/cache_segtype/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache_segtype/cache.c b/lib/cache_segtype/cache.c index 93d4c5283..05de9d5cd 100644 --- a/lib/cache_segtype/cache.c +++ b/lib/cache_segtype/cache.c @@ -335,7 +335,7 @@ static int _lookup_kallsyms(const char *symbol) static int _target_present(struct cmd_context *cmd, const struct lv_segment *seg __attribute__((unused)), - unsigned *attributes __attribute__((unused))) + unsigned *attributes) { /* List of features with their kernel target version */ static const struct feature { |