diff options
author | Derek Straka <derek@asterius.io> | 2016-06-18 10:05:17 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-07-07 09:51:27 -0400 |
commit | 3647a2ca4ca129708a8e143ed0cf1f712b4a15a0 (patch) | |
tree | f58ef3235915b827da6f6d20bd0d71e6709a1fcf /meta-networking/recipes-connectivity/crda/crda/fix-gcc-6-unused-variables.patch | |
parent | 1cb7275961fd4bca3a6cb70e064ad6e6e1ff04d6 (diff) | |
download | meta-openembedded-contrib-3647a2ca4ca129708a8e143ed0cf1f712b4a15a0.tar.gz |
crda: fix errors about unused variables and remove from the blacklist
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/crda/crda/fix-gcc-6-unused-variables.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/crda/crda/fix-gcc-6-unused-variables.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/crda/crda/fix-gcc-6-unused-variables.patch b/meta-networking/recipes-connectivity/crda/crda/fix-gcc-6-unused-variables.patch new file mode 100644 index 0000000000..747804d345 --- /dev/null +++ b/meta-networking/recipes-connectivity/crda/crda/fix-gcc-6-unused-variables.patch @@ -0,0 +1,11 @@ +--- crda-3.18/utils/key2pub.py.orig 2016-06-18 09:54:23.671326113 -0400 ++++ crda-3.18/utils/key2pub.py 2016-06-18 09:54:34.387326300 -0400 +@@ -115,7 +115,7 @@ + .n = _n, .len_n = sizeof(_n), \ + } + +-static const struct key_params keys[] = { ++static const struct key_params keys[] __attribute__((unused))= { + ''') + for n in xrange(n + 1): + output.write(' KEYS(e_%d, n_%d),\n' % (n, n)) |