summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-25 13:05:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:59 -0500
commit602271632a7f31463341e68ef96b58333d9c6715 (patch)
treed0eb65045b209778a2bbae46319752dc0044d1c4 /source3
parent75ae998b9948c03956ead9c3f9c7344a96ab93dc (diff)
downloadsamba-602271632a7f31463341e68ef96b58333d9c6715.tar.gz
samba-602271632a7f31463341e68ef96b58333d9c6715.tar.bz2
samba-602271632a7f31463341e68ef96b58333d9c6715.zip
r24044: Fix an uninitialized variable warning
(This used to be commit 69326a56e7fe2681eef3d58a9107765496756de4)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/log2pcaphex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/log2pcaphex.c b/source3/utils/log2pcaphex.c
index daebb56a88..6f07c4f543 100644
--- a/source3/utils/log2pcaphex.c
+++ b/source3/utils/log2pcaphex.c
@@ -228,7 +228,7 @@ int main (int argc, char **argv)
int opt;
poptContext pc;
char buffer[4096];
- long data_offset, data_length;
+ long data_offset = 0, data_length;
long data_bytes_read = 0;
int in_packet = 0;
struct poptOption long_options[] = {