git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:utils:log2pcaphex: fix O3 error uninitialized variable
[sfrench/samba-autobuild/.git]
/
source3
/
utils
/
log2pcaphex.c
diff --git
a/source3/utils/log2pcaphex.c
b/source3/utils/log2pcaphex.c
index 2d68db6fac95e399591005d6efbcf033301faa1f..f31efa10df8771688302d0ad1374a1bb3ef0515c 100644
(file)
--- a/
source3/utils/log2pcaphex.c
+++ b/
source3/utils/log2pcaphex.c
@@
-302,7
+302,8
@@
int main(int argc, const char **argv)
int opt;
poptContext pc;
char buffer[4096];
- long data_offset, data_length;
+ long data_offset = 0;
+ long data_length;
long data_bytes_read = 0;
int in_packet = 0;
struct poptOption long_options[] = {