s4: fix various warnings (not "const" related ones)
[sfrench/samba-autobuild/.git] / source4 / torture / smb2 / compound.c
index 00f6f3340f59f7a71c169db252cc02ab6235fac0..e9b5ee9408b81e2b0e5a6c0916a19f4fbdbdd343 100644 (file)
@@ -44,7 +44,6 @@ static bool test_compound_related1(struct torture_context *tctx,
        struct smb2_close cl;
        bool ret = true;
        struct smb2_request *req[2];
-       DATA_BLOB data;
 
        smb2_transport_credits_ask_num(tree->session->transport, 2);
 
@@ -170,8 +169,6 @@ static bool test_compound_unrelated1(struct torture_context *tctx,
        struct smb2_close cl;
        bool ret = true;
        struct smb2_request *req[5];
-       uint64_t uid;
-       uint32_t tid;
 
        smb2_transport_credits_ask_num(tree->session->transport, 5);
 
@@ -237,7 +234,6 @@ static bool test_compound_invalid1(struct torture_context *tctx,
        struct smb2_close cl;
        bool ret = true;
        struct smb2_request *req[2];
-       DATA_BLOB data;
 
        smb2_transport_credits_ask_num(tree->session->transport, 2);