Clean-up: remove useless assignment
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 3 Aug 2016 15:09:21 +0000 (11:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 3 Aug 2016 15:20:12 +0000 (11:20 -0400)
Reported-by Coverity Scan:
CID 1243014: Unused value (UNUSED_VALUE)

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index 0eb2db53815cbd2d0ff3f69f9218cef735c8b738..21bc0819db6e498dc2a355c41f23a49c944b9639 100644 (file)
@@ -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:
This page took 0.028538 seconds and 4 git commands to generate.