chiark / gitweb /
udev: avoid use of uninitialized err
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 16 May 2014 21:46:48 +0000 (23:46 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 17 May 2014 06:41:48 +0000 (08:41 +0200)
commitbf9bead187802a52a1f376a03caee762d663e945
tree6615bd38833b6e44ef124e269133f90e99c4cbf2
parent4723e4b2a4ca7a7df449ab2377770301cce6abf7
udev: avoid use of uninitialized err

After 1ea972174baba40dbc80c51cbfc4edc49764b59b err is no longer
set unless we hit a special case. Initialize it to 0 and remove
a check that will never fail.
src/udev/udevd.c