Skip to content

Commit 067d961

Browse files
jellymcgrof
authored andcommitted
crda: Fix error: `keys’ defined but not used
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>
1 parent 48ade1e commit 067d961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/key2pub.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def print_gcrypt_keys(output, n):
115115
.n = _n, .len_n = sizeof(_n), \
116116
}
117117
118-
static const struct key_params keys[] = {
118+
static const struct key_params __attribute__ ((unused)) keys[] = {
119119
''')
120120
for n in xrange(n + 1):
121121
output.write(' KEYS(e_%d, n_%d),\n' % (n, n))

0 commit comments

Comments
 (0)