Remove unnecessary check of output parameter
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Oct 2018 16:06:37 +0000 (12:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Oct 2018 12:40:50 +0000 (13:40 +0100)
commit6aa2fd29e34ccb014f337d6d633b4f8cad50c746
tree732f41c5312f3cbd1cbed50008fb36f99fce62b1
parentb789125113ff140dc34d0bc3b9cec3967300e9cc
Remove unnecessary check of output parameter

It is not necessary to check for `_notification != NULL` as it
is done at the beginning of the function. Moreover, it confuses
Coverity which warns that `notification` will be leaked if the
output parameter is NULL.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/lib/lttng-ctl/channel.c
This page took 0.024997 seconds and 4 git commands to generate.