]> diplodocus.org Git - xorg-xinput/commit
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)
commit5a8f3121c7f64dbb47fad99c027389e7d78453e4
treed69c9b827c5d922e5a40d286c5eb2bede18d58d8
parent3ea8f02027b18cf06774c8f26a719e321e9a78f2
test-xi2: add an extra NULL-check

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>
src/test_xi2.c