summary refs log tree commit diff stats
path: root/hw/core/machine-hmp-cmds.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-09 12:02:47 +0200
committerThomas Huth <thuth@redhat.com>2023-10-27 09:39:08 +0200
commita186fedbef01c79bf6c1ca0e9d170fb56f867882 (patch)
treede989e60585f2f64f59e47a112e05fa12ebdcbd2 /hw/core/machine-hmp-cmds.c
parente33ba60bdb4729b6a2531a7d964550e27f3c100e (diff)
downloadfocaccia-qemu-a186fedbef01c79bf6c1ca0e9d170fb56f867882.tar.gz
focaccia-qemu-a186fedbef01c79bf6c1ca0e9d170fb56f867882.zip
tests/rtl8139: Clean up global variable shadowing
Rename the variable to fix:

  tests/qtest/rtl8139-test.c:28:33: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
  static void save_fn(QPCIDevice *dev, int devfn, void *data)
                                  ^
  tests/qtest/rtl8139-test.c:37:17: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      QPCIDevice *dev;
                  ^
  tests/qtest/rtl8139-test.c:25:20: note: previous declaration is here
  static QPCIDevice *dev;
                     ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231009100251.56019-7-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/core/machine-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions