Unverified Commit 20c6f53a by tomponline Committed by Christian Brauner

attach: remove unused variable

Closes lxc#2885. Signed-off-by: 's avatartomponline <tomp@tomp.uk>
parent 4e249c2e
...@@ -159,7 +159,6 @@ static int in_same_namespace(pid_t pid1, pid_t pid2, const char *ns) ...@@ -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; __do_close_prot_errno int ns_fd1 = -1, ns_fd2 = -1;
int ret = -1; int ret = -1;
int saved_errno;
struct stat ns_st1, ns_st2; struct stat ns_st1, ns_st2;
ns_fd1 = lxc_preserve_ns(pid1, ns); ns_fd1 = lxc_preserve_ns(pid1, ns);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment