svn commit: samba r6176 - branches/SAMBA_3_0/source/torture
trunk/source/torture
tpot at samba.org
tpot at samba.org
Sat Apr 2 00:59:13 GMT 2005
Author: tpot
Date: 2005-04-02 00:59:12 +0000 (Sat, 02 Apr 2005)
New Revision: 6176
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6176
Log:
Fix a possibly uninitialised variable warning.
Modified:
branches/SAMBA_3_0/source/torture/torture.c
trunk/source/torture/torture.c
Changeset:
Modified: branches/SAMBA_3_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_3_0/source/torture/torture.c 2005-04-02 00:56:30 UTC (rev 6175)
+++ branches/SAMBA_3_0/source/torture/torture.c 2005-04-02 00:59:12 UTC (rev 6176)
@@ -537,7 +537,7 @@
static BOOL run_readwritetest(int dummy)
{
static struct cli_state *cli1, *cli2;
- BOOL test1, test2;
+ BOOL test1, test2 = False;
if (!torture_open_connection(&cli1) || !torture_open_connection(&cli2)) {
return False;
Modified: trunk/source/torture/torture.c
===================================================================
--- trunk/source/torture/torture.c 2005-04-02 00:56:30 UTC (rev 6175)
+++ trunk/source/torture/torture.c 2005-04-02 00:59:12 UTC (rev 6176)
@@ -537,7 +537,7 @@
static BOOL run_readwritetest(int dummy)
{
static struct cli_state *cli1, *cli2;
- BOOL test1, test2;
+ BOOL test1, test2 = False;
if (!torture_open_connection(&cli1) || !torture_open_connection(&cli2)) {
return False;
More information about the samba-cvs
mailing list