diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-28 11:01:31 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-08-28 11:04:18 +0200 |
commit | 371ad55d460559b4262e25d0f9b64dc37c3f7565 (patch) | |
tree | a8a24b7c6356539fe9b25048d5ab7c35b18d71b3 /sysusers.d | |
parent | 0f99f74a14ef193c1ebde687c5cc76e1d67b85ef (diff) |
terminal: sysview: don't return uninitialized error codes
In case 'scan_evdev' and 'scan_drm' are both false, we never set 'r' to
anyhting, thus return an uninitialized error code. Fix this by always
returning 0 as we catch negative codes earlier, anyway. Thanks to Thomas
H.P. Anderson for the report.
Diffstat (limited to 'sysusers.d')
0 files changed, 0 insertions, 0 deletions