summary refs log tree commit diff stats
path: root/include/hw/virtio/virtio-input.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-09 12:02:51 +0200
committerThomas Huth <thuth@redhat.com>2023-10-27 09:39:08 +0200
commit89c90405648d34470b7f19120e6bf9cc054ad8b2 (patch)
tree11ed2e69981ac09d4dd57b47a8681965b5cc3548 /include/hw/virtio/virtio-input.h
parent0c2c2932a97e73fa400af6ab4e4f6625ead3e4a1 (diff)
downloadfocaccia-qemu-89c90405648d34470b7f19120e6bf9cc054ad8b2.tar.gz
focaccia-qemu-89c90405648d34470b7f19120e6bf9cc054ad8b2.zip
tests/coroutine: Clean up global variable shadowing
Rename the global variable to avoid:

  tests/unit/test-coroutine.c:430:11: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      bool *done = opaque;
            ^
  tests/unit/test-coroutine.c:438:10: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      bool done = false;
           ^
  tests/unit/test-coroutine.c:198:12: note: previous declaration is here
  static int done;
             ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231009100251.56019-11-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-input.h')
0 files changed, 0 insertions, 0 deletions