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>
Fri, 12 Oct 2018 16:20:31 +0000 (12:20 -0400)
commitd12522c8f767df18a4fa4af0df379e09aea26e6f
treed3873d476593f2407de1088bec8624121fa25ffb
parent71e04de6ef5608104c7881a45abc638f3c48b8af
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.025259 seconds and 4 git commands to generate.