From: Jérémie Galarneau Date: Wed, 3 Aug 2016 15:09:21 +0000 (-0400) Subject: Clean-up: remove useless assignment X-Git-Tag: v2.9.0-rc1~74 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=772d6f1ee349ae87f9d6ecd22ac463b654b3f352;p=lttng-tools.git Clean-up: remove useless assignment Reported-by Coverity Scan: CID 1243014: Unused value (UNUSED_VALUE) Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 0eb2db538..21bc0819d 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -4291,7 +4291,6 @@ restart: if (ret) { PERROR("close"); } - new_sock = -1; continue; } @@ -4320,7 +4319,6 @@ restart: if (ret) { PERROR("close"); } - new_sock = -1; } exit: