Re: [PATCH v3 01/19] powerpc/powermac: Mark variable x as unused

2018-04-24 Thread Christophe LEROY
Le 04/04/2018 à 22:07, Mathieu Malaterre a écrit : Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-bu

[PATCH v3 01/19] powerpc/powermac: Mark variable x as unused

2018-04-04 Thread Mathieu Malaterre
Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable] Suggested-by: Christophe Leroy Signed-