diff options
author | Keith Packard <keithp@keithp.com> | 2014-10-22 14:24:55 -0700 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-06 21:16:17 +0200 |
commit | a11629656cc9cfde12f5145191fe05435958d5bd (patch) | |
tree | 06965e821f194002e7b15ca918a2ce273ea52090 /nx-X11/lib/X11/SetBack.c | |
parent | 057cdafdc25c9c82989304ad0427c0038b40c521 (diff) | |
download | nx-libs-a11629656cc9cfde12f5145191fe05435958d5bd.tar.gz nx-libs-a11629656cc9cfde12f5145191fe05435958d5bd.tar.bz2 nx-libs-a11629656cc9cfde12f5145191fe05435958d5bd.zip |
os: Eliminate uninitialized value warnings from access.c
The ConvertAddr function doesn't reliably set the 'addr' return value,
and so callers are getting flagged for using potentially uninitialized
values. Initialize the value in the callers to NULL and then go ahead
and check for NULL values before using them.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
Diffstat (limited to 'nx-X11/lib/X11/SetBack.c')
0 files changed, 0 insertions, 0 deletions