summary refs log tree commit diff stats
path: root/hw/arm/virt.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-09-04 18:12:13 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:14 +0200
commit9a239c6eae68e0bfb989f9ebb2907e04f98fde99 (patch)
tree77e0a168088d9ff7009ada52c42f2d489f0b1404 /hw/arm/virt.c
parentbb71846325e23d884ca4ff1bcc95aaead0131a5a (diff)
downloadfocaccia-qemu-9a239c6eae68e0bfb989f9ebb2907e04f98fde99.tar.gz
focaccia-qemu-9a239c6eae68e0bfb989f9ebb2907e04f98fde99.zip
tcg: Clean up local variable shadowing
Fix:

  tcg/tcg.c:2551:27: error: declaration shadows a local variable [-Werror,-Wshadow]
                    MemOp op = get_memop(oi);
                          ^
  tcg/tcg.c:2437:12: note: previous declaration is here
    TCGOp *op;
           ^
  accel/tcg/tb-maint.c:245:18: error: declaration shadows a local variable [-Werror,-Wshadow]
        for (int i = 0; i < V_L2_SIZE; i++) {
                 ^
  accel/tcg/tb-maint.c:210:9: note: previous declaration is here
    int i;
        ^

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904161235.84651-2-philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions