]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: remove error check that never happens 983/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 14 Aug 2015 21:40:27 +0000 (23:40 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 17 Aug 2015 22:11:16 +0000 (00:11 +0200)
commitb2b46f91dbb71676cb981907c68521e4b1e80af1
tree14fd8604f6bd4b24f2a0376a0b5c673647391e8a
parentd2b5f6bdbbb7981fb687376f7bf40554fa99ab1e
journal: remove error check that never happens

remove_directory will always return 0 so this can never happen.
Besides that, d->path and d are freed so we would end up with
a null pointer dereference anyway.
src/journal/sd-journal.c