diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-09 12:02:51 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-10-27 09:39:08 +0200 |
commit | 89c90405648d34470b7f19120e6bf9cc054ad8b2 (patch) | |
tree | 11ed2e69981ac09d4dd57b47a8681965b5cc3548 /docs | |
parent | 0c2c2932a97e73fa400af6ab4e4f6625ead3e4a1 (diff) | |
download | qemu-89c90405648d34470b7f19120e6bf9cc054ad8b2.zip qemu-89c90405648d34470b7f19120e6bf9cc054ad8b2.tar.gz qemu-89c90405648d34470b7f19120e6bf9cc054ad8b2.tar.bz2 |
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 'docs')
0 files changed, 0 insertions, 0 deletions