summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/pidfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c
index f0c075cba6..987ab068e7 100644
--- a/source3/lib/pidfile.c
+++ b/source3/lib/pidfile.c
@@ -34,7 +34,7 @@ pid_t pidfile_pid(const char *program_name)
{
int fd;
char pidstr[20];
- pid_t pid;
+ pid_t pid = 0;
unsigned int ret;
char *name;
const char *short_configfile;