xserver/hw/xfree86
Alan Coopersmith 4447d71b9a xf86DeleteScreen: move check for NULL pScrn before first dereference
Flagged by cppcheck 1.62:
[hw/xfree86/common/xf86Helper.c:220] -> [hw/xfree86/common/xf86Helper.c:231]:
 (warning) Possible null pointer dereference: pScrn - otherwise it is
 redundant to check it against null.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit c1ac89c793)
2014-02-19 10:24:35 +10:00
..
common xf86DeleteScreen: move check for NULL pScrn before first dereference 2014-02-19 10:24:35 +10:00
ddc Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
dixmods glx: Remove DRI1 AIGLX (v2) 2013-10-29 10:30:43 -04:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
dri Merge remote-tracking branch 'yselkowitz/master' 2012-12-19 12:22:03 -08:00
dri2 dri2: Disable when Xinerama is active 2013-12-09 13:20:36 -05:00
exa Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
fbdevhw Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
i2c Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
int10 xfree86: de-duplicate some AM_CPPFLAGS 2013-08-06 13:14:56 +10:00
loader Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
man xfree86/man: document AutoAddGPU 2013-08-01 14:45:56 +10:00
modes xfree86: return NULL for compat output if no outputs. 2013-11-14 16:35:20 +09:00
os-support ARM64: Add support for aarch64 2013-11-06 16:41:49 -08:00
parser Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
ramdac Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
shadowfb Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
utils Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
vbe vbe: Don't try to load the ddc submodule 2013-09-10 13:28:24 -04:00
vgahw Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
x86emu Avoid conflicts with Solaris <sys/regset.h> defines that clash with our names 2013-11-12 21:03:53 +09:00
.gitignore xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am Stop including inline assembly .il file for Solaris Studio builds 2013-11-14 13:12:21 +09:00
sdksyms.sh Link with xshmfence, reference miSyncShmScreenInit in sdksyms 2013-11-05 18:37:12 -08:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00