summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-16 10:15:46 +0200
committerGünther Deschner <gd@samba.org>2009-09-16 10:29:43 +0200
commit537ac20a92c70a4bebcb7662c7bbcb1daf745fb7 (patch)
tree447bd45cbd288b4fe772a02cd7674669a7774f2a /source3
parent6dab835fbb981b0bb1bac68407fd29fa3a18a53a (diff)
downloadsamba-537ac20a92c70a4bebcb7662c7bbcb1daf745fb7.tar.gz
samba-537ac20a92c70a4bebcb7662c7bbcb1daf745fb7.tar.bz2
samba-537ac20a92c70a4bebcb7662c7bbcb1daf745fb7.zip
s3-eventlogadm: Fix Coverity #938: UNINIT.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/eventlogadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index d134ea8fea..7fc04b008e 100644
--- a/source3/utils/eventlogadm.c
+++ b/source3/utils/eventlogadm.c
@@ -91,7 +91,7 @@ static int DoWriteCommand( int argc, char **argv, bool debugflag, char *exename
char linein[1024];
bool is_eor;
struct eventlog_Record_tdb ee;
- uint32_t record_number;
+ uint32_t record_number = 0;
TALLOC_CTX *mem_ctx = talloc_tos();
f1 = stdin;