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

index 0e6d7025e2554ded97933b0454b7f0bb9e50a05c..5b249d7ac862ff15ed61e7d1d637e22e5de6665e 100644 (file)
@@ -846,7 +846,6 @@ static bool torture_smb2_notify_mask(struct torture_context *torture,
        int i;
        char c = 1;
        struct timeval tv;
-       NTTIME t;
        union smb_setfileinfo sinfo;
 
        smb2_deltree(tree1, BASEDIR);
@@ -855,7 +854,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);
-       t = timeval_to_nttime(&tv);
 
        /*
          get a handle on the directory