RAW-OPLOCK: remove unused vars
authorStefan Metzmacher <metze@samba.org>
Thu, 6 Mar 2008 14:49:31 +0000 (15:49 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 6 Mar 2008 16:19:34 +0000 (17:19 +0100)
metze
(This used to be commit 0905f3ebd1cb1ac9cefc4272208add9e5a8d7f59)

source4/torture/raw/oplock.c

index 8a7489c84e83b0dfdd99bda4e3df17f79dd1e01f..cb47a256f6e79b93fd1be2f77a1a87f202c9814f 100644 (file)
@@ -2301,13 +2301,10 @@ static bool test_raw_oplock_batch22(struct torture_context *tctx, struct smbcli_
        NTSTATUS status;
        bool ret = true;
        union smb_open io;
-       union smb_unlink unl;
        uint16_t fnum=0, fnum2=0;
-       char c = 0;
        struct timeval tv;
        int timeout = torture_setting_int(tctx, "oplocktimeout", 30);
        int te;
-       ssize_t wr;
 
        if (torture_setting_bool(tctx, "samba3", false)) {
                torture_skip(tctx, "BACHT22 disabled against samba3\n");