Files
xserver/Xext
Cyril Brulebois 9da5aa09d7 Xext: Fix buggy checks.
XvMCScreenKey is defined as XvMCScreenKeyRec's address, so will never be
NULL. Use the check proposed by Alan Coopersmith and Jeremy Huddleston
instead.

Those warnings go away accordingly:
|   CC     xvmc.lo
| xvmc.c: In function 'ProcXvMCListSubpictureTypes':
| xvmc.c:490:22: warning: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Waddress]
| xvmc.c: In function 'XvMCExtensionInit':
| xvmc.c:671:21: warning: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Waddress]
| xvmc.c: In function 'XvMCFindXvImage':
| xvmc.c:749:22: warning: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Waddress]

Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
2011-06-16 00:43:41 +02:00
..
2009-04-03 18:22:20 -04:00
2009-04-03 18:22:20 -04:00
2011-03-01 10:56:17 +10:00
2008-01-03 17:04:54 +10:30
2009-07-15 17:00:05 +10:00
2011-01-05 08:41:30 -08:00
2010-12-06 19:15:38 -08:00
2011-01-25 14:41:02 +00:00
2011-03-08 13:19:40 -05:00
2011-06-16 00:43:41 +02:00