xorg/driver/xf86-input-joystick: [PATCH 2/2] Janitor: gcc 4.5 and sparse warnings.
Paulo César Pereira de Andrade
pcpa at mandriva.com.br
Wed Feb 4 12:59:13 PST 2009
This patch corrects most gcc/sparse warnings.
The correction for code in format:
if (a >= b)
rel = a - b;
if (a <= b)
rel = b - a;
rel = rel / foo;
was changed to the logical equivalent, and clear
to read, but also corrected the warning about rel
possibly being used uninitialized :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2792 bytes
Desc: not available
More information about the xorg