lxc/0076-lxc-delete-unused-variable.patch
2019-12-25 15:57:42 +08:00

27 lines
810 B
Diff

From 1c9ffd2e51f0c525125103b172f2b03fc6a9aa83 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 4 Apr 2019 11:19:48 +0800
Subject: [PATCH 076/131] lxc: delete unused variable
Signed-off-by: wujing <wujing50@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>
---
src/lxc/tools/lxc_attach.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lxc/tools/lxc_attach.c b/src/lxc/tools/lxc_attach.c
index 2861ef4d..440c0bcb 100644
--- a/src/lxc/tools/lxc_attach.c
+++ b/src/lxc/tools/lxc_attach.c
@@ -62,7 +62,6 @@ static char **extra_env;
static ssize_t extra_env_size;
static char **extra_keep;
static ssize_t extra_keep_size;
-static unsigned int timeout = 0;
static const struct option my_longopts[] = {
{"elevated-privileges", optional_argument, 0, 'e'},
--
2.23.0