lxc/0076-lxc-delete-unused-variable.patch

27 lines
810 B
Diff
Raw Normal View History

2019-12-25 15:57:42 +08:00
From 1c9ffd2e51f0c525125103b172f2b03fc6a9aa83 Mon Sep 17 00:00:00 2001
2019-09-30 11:03:07 -04:00
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 4 Apr 2019 11:19:48 +0800
2019-12-25 15:57:42 +08:00
Subject: [PATCH 076/131] lxc: delete unused variable
2019-09-30 11:03:07 -04:00
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
2019-12-25 15:57:42 +08:00
index 2861ef4d..440c0bcb 100644
2019-09-30 11:03:07 -04:00
--- 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'},
--
2019-12-25 15:57:42 +08:00
2.23.0
2019-09-30 11:03:07 -04:00