summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-05-04 08:51:55 -0700
committerTim Prouty <tprouty@samba.org>2009-05-04 08:52:26 -0700
commit1b2c65ff8d3c0033a0207801319dda662dbad4ba (patch)
treeba0b4981eb4004bb32ca34a1db742150685fc1de /source3/torture
parent032bb807c70a442f539c5321c2a903461f83ac54 (diff)
downloadsamba-1b2c65ff8d3c0033a0207801319dda662dbad4ba.tar.gz
samba-1b2c65ff8d3c0033a0207801319dda662dbad4ba.tar.bz2
samba-1b2c65ff8d3c0033a0207801319dda662dbad4ba.zip
s3 torture: Fix comparison is always true warning
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/denytest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/denytest.c b/source3/torture/denytest.c
index 1360fc2ef4..e5cd5a2ec2 100644
--- a/source3/torture/denytest.c
+++ b/source3/torture/denytest.c
@@ -1555,8 +1555,8 @@ bool torture_denytest2(int dummy)
resultstr(denytable2[i].result));
}
- if (fnum1 != -1) cli_close(cli1, fnum1);
- if (fnum2 != -1) cli_close(cli2, fnum2);
+ cli_close(cli1, fnum1);
+ cli_close(cli2, fnum2);
}
for (i=0;i<2;i++) {