dispatcher: drop a useless condition
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 4 Feb 2016 15:51:36 +0000 (16:51 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Thu, 11 Feb 2016 16:01:03 +0000 (17:01 +0100)
commit76cb1d4b72907e484e018d24b8db40e8cd420d1f
tree166b0cf635c327fb68ea67795f52e9f3d2e37a37
parente8927c14ec3e830099e1525fa8fee4c9a7fc5032
dispatcher: drop a useless condition

The request->scripts are allocated in handle_action() and request_free() is
only called after that, so it never sees it NULL. Coverity knows:

CID 59385 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking request->scripts suggests that it may be null,
but it has already been dereferenced on all paths leading to the check.
callouts/nm-dispatcher.c