From 7684dbd82a4ff4883fed40f3a84269d93fa23e4b Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Thu, 21 Feb 2013 21:24:33 +0000 Subject: [PATCH] bosserver: Don't check if daemon thread starts We don't do anything with the return code from the LWP_CreateProcess that starts the daemon thread, so don't bother recording it at all. Caught by clang-analyzer Change-Id: I9310bdd90236a90d71dc202c73d7e06ea58a31f8 Reviewed-on: http://gerrit.openafs.org/9229 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Derrick Brashear --- src/bozo/bosserver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c index 0412a2251..d19e3887f 100644 --- a/src/bozo/bosserver.c +++ b/src/bozo/bosserver.c @@ -1103,9 +1103,8 @@ main(int argc, char **argv, char **envp) } } - code = LWP_CreateProcess(BozoDaemon, BOZO_LWP_STACKSIZE, /* priority */ 1, - /* param */ NULL , "bozo-the-clown", - &bozo_pid); + LWP_CreateProcess(BozoDaemon, BOZO_LWP_STACKSIZE, /* priority */ 1, + /* param */ NULL , "bozo-the-clown", &bozo_pid); /* try to read the key from the config file */ tdir = afsconf_Open(AFSDIR_SERVER_ETC_DIRPATH); -- 2.39.5