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
..
bigreq.c
xserver: delete pervasively use of DISPATCH_PROC
2010-09-28 16:45:05 +03:00
dpms.c
Eliminate boilerplate around client->noClientException.
2010-05-13 17:14:07 -07:00
dpmsproc.h
dpmsstubs.c
geext.c
Xext: use EXT_MASK macro instead of manual & 0x7f
2011-04-07 12:45:55 +10:00
geext.h
geint.h
Change the devPrivates API to require dixRegisterPrivateKey
2010-06-05 19:23:03 -07:00
Makefile.am
xext: Remove XCALIBRATE extension
2011-03-01 10:56:17 +10:00
panoramiX.c
Merge remote-tracking branch 'airlied/xinerama-cleanup'
2011-03-23 13:38:37 +09:00
panoramiX.h
panoramiX: consolidate common id assignment code.
2011-03-10 11:00:48 +10:00
panoramiXh.h
panoramiXprocs.c
panoramiX: convert 1->panoramiXNumScreens loops to use macro (v2)
2011-03-10 11:01:51 +10:00
panoramiXsrv.h
Merge remote-tracking branch 'airlied/xinerama-cleanup'
2011-03-23 13:38:37 +09:00
panoramiXSwap.c
saver.c
xserver: delete pervasively use of DISPATCH_PROC
2010-09-28 16:45:05 +03:00
security.c
Resources: Move rClient to resource.h
2010-12-31 12:36:44 +00:00
securitysrv.h
Xext: include security protocol header instead of client header
2009-09-20 19:57:01 +10:00
shape.c
xserver: delete pervasively use of DISPATCH_PROC
2010-09-28 16:45:05 +03:00
shm.c
panoramiX: convert 1->panoramiXNumScreens loops to use macro (v2)
2011-03-10 11:01:51 +10:00
shmint.h
Update to xextproto 7.0.99.1.
2009-07-15 17:00:05 +10:00
sleepuntil.c
Replace X-allocation functions with their C89 counterparts
2010-05-13 00:22:37 +07:00
sleepuntil.h
sync.c
X Sync Cleanups
2011-01-05 08:41:30 -08:00
syncsdk.h
Create/Destroy/Trigger/Reset/Query Fence Sync objs
2010-12-06 19:15:38 -08:00
syncsrv.h
Add XSyncAwaitFence() handler
2010-12-06 19:15:38 -08:00
xace.c
xace: Invalid reference to out-of-scope data.
2010-08-10 16:04:16 -07:00
xace.h
Correct outdated e-mail address in "Author" statements.
2009-09-02 17:56:52 -04:00
xacestr.h
Correct outdated e-mail address in "Author" statements.
2009-09-02 17:56:52 -04:00
xcmisc.c
xserver: delete pervasively use of DISPATCH_PROC
2010-09-28 16:45:05 +03:00
xf86bigfont.c
Fix compilation of xf86bigfont.c
2011-01-25 14:41:02 +00:00
xf86bigfontsrv.h
New header for XF86Bigfont server functions
2010-03-22 00:48:04 -05:00
xres.c
Eliminate boilerplate around client->noClientException.
2010-05-13 17:14:07 -07:00
xselinux.h
xselinux: Bump extension minor version.
2010-02-22 17:05:01 -05:00
xselinux_ext.c
xselinux: Fix GetDrawableContext
2011-02-02 14:33:01 -08:00
xselinux_hooks.c
Xext: Use general OS functions to determine client command string in SELinux.
2010-12-23 13:53:25 +02:00
xselinux_label.c
Replace X-allocation functions with their C89 counterparts
2010-05-13 00:22:37 +07:00
xselinuxint.h
Change the devPrivates API to require dixRegisterPrivateKey
2010-06-05 19:23:03 -07:00
xtest.c
input: replace EventListPtr with InternalEvent array
2011-05-11 14:27:36 +10:00
xvdisp.c
panoramiX: convert 1->panoramiXNumScreens loops to use macro (v2)
2011-03-10 11:01:51 +10:00
xvdisp.h
xvdix.h
xv: Use RESTYPE where appropriate
2011-03-08 13:19:40 -05:00
xvmain.c
Xext: Silence warnings when building with clang
2011-04-25 10:45:34 -07:00
xvmc.c
Xext: Fix buggy checks.
2011-06-16 00:43:41 +02:00
xvmcext.h