From d8e4fcd5e937cd4800f44e20afb6161be5671f9a Mon Sep 17 00:00:00 2001 From: tanyifeng Date: Tue, 12 Feb 2019 14:36:35 +0800 Subject: [PATCH 059/139] delete unused variable ppid Signed-off-by: tanyifeng Signed-off-by: LiFeng --- src/lxc/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/utils.c b/src/lxc/utils.c index 0aa87aa..91ba493 100644 --- 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)); -- 1.8.3.1