diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2017-05-07 08:57:53 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-05-11 16:41:56 +0200 |
commit | 90d41779d1c4cd64a83ec9a80256988b93ec8d08 (patch) | |
tree | 3be35726da1ae93fc2f5de11b5ca64d0149afd4e /util/k8resdump/k8resdump.c | |
parent | d84a1cae093ffc6d4a3d1f4ec7599f2ba5da81f2 (diff) |
intelmetool: Comment out unused variable
Only commented out code uses the variable `csr`, and GCC complains about
it, when enabling the warning *unused-but-set-variable*.
```
Checking for pciutils and zlib... me.c: In function ‘mei_dump’:
me.c:50:18: warning: variable ‘csr’ set but not used [-Wunused-but-set-variable]
struct mei_csr *csr;
^~~
```
As the code is commented, also comment out the declaration of the variable.
Change-Id: I4ecb2b5e9f32906ccfc8a0628d2e0f2d3ad39a02
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/19612
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/k8resdump/k8resdump.c')
0 files changed, 0 insertions, 0 deletions