Re: [PATCH v3 14/16] softmmu/vl: Clean up global variable shadowing

2023-10-05 Thread Philippe Mathieu-Daudé
On 5/10/23 10:59, Markus Armbruster wrote: Philippe Mathieu-Daudé writes: Fix: softmmu/vl.c:1069:44: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] static void parse_display_qapi(const char *optarg) ^

Re: [PATCH v3 14/16] softmmu/vl: Clean up global variable shadowing

2023-10-05 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > Fix: > > softmmu/vl.c:1069:44: error: declaration shadows a variable in the global > scope [-Werror,-Wshadow] > static void parse_display_qapi(const char *optarg) > ^ > softmmu/vl.c:1224:39: error: declaration

[PATCH v3 14/16] softmmu/vl: Clean up global variable shadowing

2023-10-04 Thread Philippe Mathieu-Daudé
Fix: softmmu/vl.c:1069:44: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] static void parse_display_qapi(const char *optarg) ^ softmmu/vl.c:1224:39: error: declaration shadows a variable in the global scope