summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-10-26 21:13:52 +0200
committerJeremy Allison <jra@samba.org>2017-10-27 20:33:25 +0200
commit6475293bc800a343464955fe8027aa8033c5513d (patch)
treeebb0f0176bbafdefba06060c5562c4db594f8603 /source4/smbd
parente7a4c31047f55a5bd0160f5b4fb614bff9c3c421 (diff)
downloadsamba-6475293bc800a343464955fe8027aa8033c5513d.tar.gz
samba: Fix CID 1420179 Code maintainability issues UNUSED_VALUE
I don't think pid is used at all here. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_prefork.c1
1 files changed, 0 insertions, 1 deletions
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();