From: Volker Lendecke Date: Thu, 26 Oct 2017 19:13:52 +0000 (+0200) Subject: samba: Fix CID 1420179 Code maintainability issues UNUSED_VALUE X-Git-Tag: tevent-0.9.34~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6475293bc800a343464955fe8027aa8033c5513d;p=thirdparty%2Fsamba.git samba: Fix CID 1420179 Code maintainability issues UNUSED_VALUE I don't think pid is used at all here. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c index a4bd7ba74b7..f6fb80b986d 100644 --- a/source4/smbd/process_prefork.c +++ b/source4/smbd/process_prefork.c @@ -339,7 +339,6 @@ static void prefork_new_task( free(w); TALLOC_FREE(ev); - pid = getpid(); setproctitle("task[%s] pre-forked worker", service_name); prefork_reload_after_fork();