diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-12-04 21:52:39 +0100 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@kernel.org> | 2018-01-05 10:53:11 -0800 |
commit | 067d961a344b4a2b2c374cfba5a632f0652971e2 (patch) | |
tree | 503e5fcff52c4a31993979f4211fbe2fa95ebe5d | |
parent | 48ade1ecdc7d2d04b8ec03d16b823a9fff620b63 (diff) | |
download | crda-067d961a344b4a2b2c374cfba5a632f0652971e2.tar.gz |
crda: Fix error: `keys’ defined but not usedv4.14
Fix error: ‘keys’ defined but not used [-Werror=unused-const-variable=]
by informing GCC keys is unused.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rwxr-xr-x | utils/key2pub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/key2pub.py b/utils/key2pub.py index 3e84cd2..9bb04cd 100755 --- a/utils/key2pub.py +++ b/utils/key2pub.py @@ -115,7 +115,7 @@ struct key_params { .n = _n, .len_n = sizeof(_n), \ } -static const struct key_params keys[] = { +static const struct key_params __attribute__ ((unused)) keys[] = { ''') for n in xrange(n + 1): output.write(' KEYS(e_%d, n_%d),\n' % (n, n)) |