svn commit: samba r24044 - in branches: SAMBA_3_2/source/utils
SAMBA_3_2_0/source/utils
vlendec at samba.org
vlendec at samba.org
Wed Jul 25 13:05:54 GMT 2007
Author: vlendec
Date: 2007-07-25 13:05:54 +0000 (Wed, 25 Jul 2007)
New Revision: 24044
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24044
Log:
Fix an uninitialized variable warning
Modified:
branches/SAMBA_3_2/source/utils/log2pcaphex.c
branches/SAMBA_3_2_0/source/utils/log2pcaphex.c
Changeset:
Modified: branches/SAMBA_3_2/source/utils/log2pcaphex.c
===================================================================
--- branches/SAMBA_3_2/source/utils/log2pcaphex.c 2007-07-25 12:43:40 UTC (rev 24043)
+++ branches/SAMBA_3_2/source/utils/log2pcaphex.c 2007-07-25 13:05:54 UTC (rev 24044)
@@ -228,7 +228,7 @@
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[] = {
Modified: branches/SAMBA_3_2_0/source/utils/log2pcaphex.c
===================================================================
--- branches/SAMBA_3_2_0/source/utils/log2pcaphex.c 2007-07-25 12:43:40 UTC (rev 24043)
+++ branches/SAMBA_3_2_0/source/utils/log2pcaphex.c 2007-07-25 13:05:54 UTC (rev 24044)
@@ -228,7 +228,7 @@
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[] = {
More information about the samba-cvs
mailing list