From: Peter Hutterer Date: Wed, 12 Sep 2018 23:39:22 +0000 (+1000) Subject: test-xi2: add an extra NULL-check X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/5a8f3121c7f64dbb47fad99c027389e7d78453e4?ds=inline;hp=5a8f3121c7f64dbb47fad99c027389e7d78453e4 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 ---