Removed some unused variables from the daemon.c source file.