summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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[] = {