s4:torture:smb2:notify: remove an unused variable
authorMichael Adam <obnox@samba.org>
Thu, 2 Feb 2012 14:56:48 +0000 (15:56 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 3 Feb 2012 10:10:29 +0000 (11:10 +0100)
source4/torture/smb2/notify.c

index 5b249d7ac862ff15ed61e7d1d637e22e5de6665e..4509be6a2ce5b916bb865fc9f92005167d65ca32 100644 (file)
@@ -845,7 +845,6 @@ static bool torture_smb2_notify_mask(struct torture_context *torture,
        uint32_t mask;
        int i;
        char c = 1;
-       struct timeval tv;
        union smb_setfileinfo sinfo;
 
        smb2_deltree(tree1, BASEDIR);
@@ -853,7 +852,6 @@ static bool torture_smb2_notify_mask(struct torture_context *torture,
 
        torture_comment(torture, "TESTING CHANGE NOTIFY COMPLETION FILTERS\n");
 
-       tv = timeval_current_ofs(1000, 0);
 
        /*
          get a handle on the directory