[PATCH:xf86-video-sis] Fix HDisplay/VDisplay typos

Gaetan Nadon memsize at videotron.ca
Sun Oct 27 12:58:19 CET 2013


On 13-10-26 05:29 PM, Alan Coopersmith wrote:
> Found by gcc -Wlogicalops:
>
> sis_driver.c: In function 'SiS_CheckModeCRT2':
> sis_driver.c:13754:5: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
> sis_driver.c:13755:6: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
> sis_driver.c:13756:6: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
> sis_driver.c:13758:5: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
> sis_driver.c:13759:6: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  src/sis_driver.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Been like that since 2003.

Reviewed-by: Gaetan Nadon<memsize at videotron.ca>


More information about the xorg-devel mailing list