weston/desktop-shell
U. Artie Eoff 6d6d190b30 exposay: remove redundant NULL check in highlight_surface
exposay_highlight_surface() is called from exposay_pick(),
exposay_layout(), and exposay_maybe_move() where the esurface
parameter is already validated prior to the call.  This makes
the 'esurface' NULL check redundant.  This assumes any future
calls to exposay_highlight_surface() will also validate the
'esurface' parameter prior to the call.

This fixes the logic in exposay_highlight_surface so static
analyzers don't complain about the possibility that 'view'
might be NULL deref'd when a 'esurface' == NULL condition is
true.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2014-01-19 22:04:27 -08:00
..
.gitignore Update .gitignore 2013-12-09 12:15:41 -08:00
exposay.c exposay: remove redundant NULL check in highlight_surface 2014-01-19 22:04:27 -08:00
input-panel.c keyboard: Make debug output less verbose 2014-01-09 23:58:14 -08:00
Makefile.am build: Fix out-of-tree build for desktop-shell 2013-12-04 12:57:02 -08:00
shell.c shell: Don't start a fade animation if we don't have an output 2014-01-19 21:48:10 -08:00
shell.h shell: Disable exposay by default 2014-01-16 16:52:12 -08:00