Commit 2eb5d2c81db908ff691b0ac58f2361dce6f7c005

Peter Hutterer 2020-06-23T16:06:10

test: simplify error handling in interactive-evdev Passing -errno around and having separate labels depending on failure types is superfluous here. All the unref calls can handle NULL and nothing cares about errno once we're out of the immediate scope. So let's simplify this and deal with 0 and 1 only. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>