From: tomponline Date: Sat, 2 Mar 2019 10:11:51 +0000 (+0000) Subject: attach: remove unused variable X-Git-Tag: lxc-3.2.0~125^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa26c8e2b575b637a62cc03c510cf09b2a5050c5;p=thirdparty%2Flxc.git attach: remove unused variable Closes lxc#2885. Signed-off-by: tomponline --- diff --git a/src/lxc/attach.c b/src/lxc/attach.c index 288458230..f4e43e2b6 100644 --- a/src/lxc/attach.c +++ b/src/lxc/attach.c @@ -159,7 +159,6 @@ static int in_same_namespace(pid_t pid1, pid_t pid2, const char *ns) { __do_close_prot_errno int ns_fd1 = -1, ns_fd2 = -1; int ret = -1; - int saved_errno; struct stat ns_st1, ns_st2; ns_fd1 = lxc_preserve_ns(pid1, ns);