gtx: Return failure if gtx_Init can't start thread
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 22 Feb 2013 10:35:48 +0000 (10:35 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 24 Feb 2013 19:33:08 +0000 (11:33 -0800)
commitf238d0d09e7cf6f28a47368bb026b45bd57be8d1
tree2973919e31384d3e0c5cb8306483b055664c6904
parent75ef02d9dfb43079f111ea22ae351cf0eec13fab
gtx: Return failure if gtx_Init can't start thread

If LWP_CreateProcess fails in gtx_Init return NULL, rather than
silently swallowing the failure.

Caught by clang-analyzer

Change-Id: I5db5667f9dae3f405e88cf9c57e6b8a069ea28a3
Reviewed-on: http://gerrit.openafs.org/9236
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/gtx/input.c