Re: [PATCH 07/10] tests/npcm7xx_adc: Clean up global variable shadowing

2023-10-13 Thread Thomas Huth
On 09/10/2023 12.02, Philippe Mathieu-Daudé wrote: Rename the global 'adc' variable in order to avoid: tests/qtest/npcm7xx_adc-test.c:98:58: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] static uint32_t adc_read_con(QTestState *qts, const ADC *adc)

[PATCH 07/10] tests/npcm7xx_adc: Clean up global variable shadowing

2023-10-09 Thread Philippe Mathieu-Daudé
Rename the global 'adc' variable in order to avoid: tests/qtest/npcm7xx_adc-test.c:98:58: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] static uint32_t adc_read_con(QTestState *qts, const ADC *adc) ^