aboutsummaryrefslogtreecommitdiff
path: root/testscripts
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-10-22 14:24:55 -0700
committerUlrich Sibiller <uli42@gmx.de>2016-10-06 21:16:17 +0200
commita11629656cc9cfde12f5145191fe05435958d5bd (patch)
tree06965e821f194002e7b15ca918a2ce273ea52090 /testscripts
parent057cdafdc25c9c82989304ad0427c0038b40c521 (diff)
downloadnx-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 'testscripts')
0 files changed, 0 insertions, 0 deletions