From: Jérémie Galarneau Date: Fri, 24 Aug 2018 18:06:55 +0000 (-0400) Subject: Clean-up: remove dead code from rotation test X-Git-Tag: v2.11.0-rc1~106 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a72956358a44cc703b4b96a7255454c6f5b09ab8;p=lttng-tools.git Clean-up: remove dead code from rotation test Reported-by: Coverity Scan (1395165 Logically dead code) Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/notification/rotation.c b/tests/regression/tools/notification/rotation.c index ed9ae8944..c9f5de497 100644 --- a/tests/regression/tools/notification/rotation.c +++ b/tests/regression/tools/notification/rotation.c @@ -373,9 +373,6 @@ int main(int argc, const char *argv[]) session.output_path = argv[2]; plan_tests(TEST_COUNT); - if (ret) { - goto error; - } notification_channel = lttng_notification_channel_create( lttng_session_daemon_notification_endpoint);