diff options
author | Tim Prouty <tprouty@samba.org> | 2009-05-04 08:51:55 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-05-04 08:52:26 -0700 |
commit | 1b2c65ff8d3c0033a0207801319dda662dbad4ba (patch) | |
tree | ba0b4981eb4004bb32ca34a1db742150685fc1de /source3 | |
parent | 032bb807c70a442f539c5321c2a903461f83ac54 (diff) | |
download | samba-1b2c65ff8d3c0033a0207801319dda662dbad4ba.tar.gz samba-1b2c65ff8d3c0033a0207801319dda662dbad4ba.tar.bz2 samba-1b2c65ff8d3c0033a0207801319dda662dbad4ba.zip |
s3 torture: Fix comparison is always true warning
Diffstat (limited to 'source3')
-rw-r--r-- | source3/torture/denytest.c | 4 |
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++) { |