diff options
author | Volker Lendecke <vl@samba.org> | 2012-07-05 20:30:51 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-07-06 18:46:06 +0200 |
commit | d27a9c4e432c714765c9b0bb67409f06c7fd7709 (patch) | |
tree | 0b50e1d4ea82d300ba2d72765c8e641b709435b7 | |
parent | 4654dcaae77264b50600bfcd592f0d1658af5c32 (diff) | |
download | samba-d27a9c4e432c714765c9b0bb67409f06c7fd7709.tar.gz samba-d27a9c4e432c714765c9b0bb67409f06c7fd7709.tar.bz2 samba-d27a9c4e432c714765c9b0bb67409f06c7fd7709.zip |
s3: Fix Coverity ID 709470 Uninitialized scalar variable
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jul 6 18:46:06 CEST 2012 on sn-devel-104
-rw-r--r-- | source3/lib/pidfile.c | 2 |
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; |