]> git.ipfire.org Git - thirdparty/glibc.git/commit
i386: Remove unused variable in sysdeps/x86/cacheinfo.c
authorFlorian Weimer <fweimer@redhat.com>
Thu, 30 Apr 2020 19:12:23 +0000 (21:12 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 30 Apr 2020 19:16:47 +0000 (21:16 +0200)
commit19108a38325c6ecb33e8d216ee1056e2732bc20f
treee3a2fee4a86442f6ba191623cbe9b4f04938e0a3
parentff026950e280bc3e9487b41b460fb31bc5b57721
i386: Remove unused variable in sysdeps/x86/cacheinfo.c

Commit a98dc92dd1e278df4c501deb07985018bc2b06de ("x86: Add cache
information support for Zhaoxin processors") introduced an unused
variable warning in the default i686-linux-gnu build:

In file included from ../sysdeps/i386/cacheinfo.c:3:
../sysdeps/x86/cacheinfo.c: In function 'init_cacheinfo':
../sysdeps/x86/cacheinfo.c:762:16: error: unused variable 'eax' [-Werror=unused-variable]
  762 |   unsigned int eax;
      |                ^~~
sysdeps/x86/cacheinfo.c