git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7a4c31
)
samba: Fix CID 1420179 Code maintainability issues UNUSED_VALUE
author
Volker Lendecke
<vl@samba.org>
Thu, 26 Oct 2017 19:13:52 +0000
(21:13 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 27 Oct 2017 18:33:25 +0000
(20:33 +0200)
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>
source4/smbd/process_prefork.c
patch
|
blob
|
history
diff --git
a/source4/smbd/process_prefork.c
b/source4/smbd/process_prefork.c
index a4bd7ba74b79c58c3c7593425e1805e7ed445be7..f6fb80b986d8fe2339a0cdf424c4a690246ec1bd 100644
(file)
--- 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);
free(w);
TALLOC_FREE(ev);
- pid = getpid();
setproctitle("task[%s] pre-forked worker",
service_name);
prefork_reload_after_fork();
setproctitle("task[%s] pre-forked worker",
service_name);
prefork_reload_after_fork();