s4: fix various warnings (not "const" related ones)
[sfrench/samba-autobuild/.git] / source4 / torture / raw / notify.c
index c92170cf619037d3e1e385bd52564c58351995fe..33d8c865704557f73f454c88cdc689d43774c10a 100644 (file)
@@ -1293,7 +1293,7 @@ static bool test_notify_overflow(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
        NTSTATUS status;
        union smb_notify notify;
        union smb_open io;
-       int fnum, fnum2;
+       int fnum;
        int count = 100;
        struct smbcli_request *req1;
        int i;
@@ -1371,10 +1371,8 @@ static bool test_notify_basedir(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
        NTSTATUS status;
        union smb_notify notify;
        union smb_open io;
-       int fnum, fnum2;
-       int count = 100;
+       int fnum;
        struct smbcli_request *req1;
-       int i;
 
        printf("TESTING CHANGE NOTIFY BASEDIR EVENTS\n");