]> diplodocus.org Git - xorg-xinput/commitdiff
test-xi2: add an extra NULL-check
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 12 Sep 2018 23:39:22 +0000 (09:39 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 12 Sep 2018 23:39:22 +0000 (09:39 +1000)
Shuts up coverity because it doesn't know that by the time we get here, we're
guaranteed that the device exists. Otherwise the list() call a few lines above
would've failed and we wouldn't get here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

No differences found