summaryrefslogtreecommitdiff
path: root/source3/lib/pidfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/pidfile.c')
-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 f0c075cba6c..987ab068e75 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;