lxc/0059-delete-unused-variable-ppid.patch

28 lines
770 B
Diff
Raw Normal View History

2019-12-25 15:57:42 +08:00
From b8b947bb46f94f46433568f9206648f8f889b0b3 Mon Sep 17 00:00:00 2001
2019-09-30 11:03:07 -04:00
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 12 Feb 2019 14:36:35 +0800
2019-12-25 15:57:42 +08:00
Subject: [PATCH 059/131] delete unused variable ppid
2019-09-30 11:03:07 -04:00
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>
---
src/lxc/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/utils.c b/src/lxc/utils.c
2019-12-25 15:57:42 +08:00
index 0aa87aa4..91ba4935 100644
2019-09-30 11:03:07 -04:00
--- a/src/lxc/utils.c
+++ b/src/lxc/utils.c
@@ -1716,7 +1716,7 @@ uint64_t lxc_find_next_power2(uint64_t n)
int lxc_set_death_signal(int signal, pid_t parent)
{
int ret;
- pid_t ppid;
+ //pid_t ppid;
ret = prctl(PR_SET_PDEATHSIG, prctl_arg(signal), prctl_arg(0),
prctl_arg(0), prctl_arg(0));
--
2019-12-25 15:57:42 +08:00
2.23.0
2019-09-30 11:03:07 -04:00