diff options
author | Jason Gerecke <killertofu@gmail.com> | 2012-05-02 11:16:03 -0700 |
---|---|---|
committer | Jason Gerecke <killertofu@gmail.com> | 2012-05-29 08:45:15 -0700 |
commit | 6973a8e0256ba2b2d84ce73058da23b2fd1668c6 (patch) | |
tree | f319982d748c0500cbe41071de1d3f7e46691061 /src/xf86Wacom.c | |
parent | fb22158f3361afa68808a10e2eece00617921faf (diff) | |
download | xf86-input-wacom-6973a8e0256ba2b2d84ce73058da23b2fd1668c6.tar.gz |
Align returned type of wcmEventAutoDevProbe with expected type
There's some cognitive dissonance when reading "return FALSE"
in a function that returns a pointer (despite FALSE and NULL
being equivalent).
Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/xf86Wacom.c')
-rw-r--r-- | src/xf86Wacom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c index 5011fe0..3e128f9 100644 --- a/src/xf86Wacom.c +++ b/src/xf86Wacom.c @@ -534,7 +534,7 @@ const char *wcmEventAutoDevProbe (InputInfoPtr pInfo) xf86Msg(X_ERROR, "%s: no Wacom event device found (checked %d nodes, waited %d msec)\n", pInfo->name, i + 1, wait); xf86Msg(X_ERROR, "%s: unable to probe device\n", pInfo->name); - return FALSE; + return NULL; } /***************************************************************************** |