chiark / gitweb /
bus: remove unused check
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 23 Sep 2014 19:34:21 +0000 (21:34 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 23 Sep 2014 19:39:36 +0000 (21:39 +0200)
commit04c553e322680b6fcdf5b271e84b0b4b0ad8d5f9
treeb6226a40f2530ba84a6fc6f24a2128ac4626ab33
parent158c1e3e0c1e9dd8ebf1b93061e1c81805eac339
bus: remove unused check

strerror_r does not return null here and even if it did we would have
problems already at the preceding strlen call.

Found by coverity. Fixes: CID#1237770
src/libsystemd/sd-bus/bus-error.c