]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
monitor: remove dead assignment
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 9 Sep 2017 09:23:34 +0000 (11:23 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 24 Sep 2017 04:36:53 +0000 (00:36 -0400)
non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/monitor.c

index ba062e8d9e627a6c85e2c7c1e70a01a2f88aa457..45bda0be4b2390bc3d7111825fb240baf5e8b9ef 100644 (file)
@@ -243,7 +243,6 @@ int lxc_monitor_open(const char *lxcpath)
                ERROR("Failed to connect to monitor socket: %s.", strerror(errno));
                goto on_error;
        }
-       ret = 0;
 
        return fd;