Re: [PATCH-for-5.0 v2 07/11] hw/gpio/aspeed_gpio: Remove dead assignment

2020-03-22 Thread Cédric Le Goater
On 3/21/20 3:41 PM, Philippe Mathieu-Daudé wrote: > Fix warning reported by Clang static code analyzer: > > hw/gpio/aspeed_gpio.c:717:18: warning: Value stored to 'g_idx' during its > initialization is never read > int set_idx, g_idx = *group_idx; >^ ~~ >

[PATCH-for-5.0 v2 07/11] hw/gpio/aspeed_gpio: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
Fix warning reported by Clang static code analyzer: hw/gpio/aspeed_gpio.c:717:18: warning: Value stored to 'g_idx' during its initialization is never read int set_idx, g_idx = *group_idx; ^ ~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mat