libcli/smb: Get rid of set but unused variable
authorKai Blin <kai@samba.org>
Sun, 25 Sep 2011 01:28:52 +0000 (18:28 -0700)
committerKai Blin <kai@samba.org>
Sun, 25 Sep 2011 04:46:05 +0000 (21:46 -0700)
libcli/smb/smb2_create_blob.c

index 31c67e99c78dffecc94b1cbb127ea3dd3d25c25c..9724823e31b783c96e4100cab4375b76ff53042b 100644 (file)
@@ -41,7 +41,7 @@ NTSTATUS smb2_create_blob_parse(TALLOC_CTX *mem_ctx, const DATA_BLOB buffer,
        while (remaining > 0) {
                uint32_t next;
                uint32_t name_offset, name_length;
-               uint32_t reserved, data_offset;
+               uint32_t data_offset;
                uint32_t data_length;
                char *tag;
                DATA_BLOB b;
@@ -53,7 +53,9 @@ NTSTATUS smb2_create_blob_parse(TALLOC_CTX *mem_ctx, const DATA_BLOB buffer,
                next        = IVAL(data, 0);
                name_offset = SVAL(data, 4);
                name_length = SVAL(data, 6);
+#if 0
                reserved    = SVAL(data, 8);
+#endif
                data_offset = SVAL(data, 10);
                data_length = IVAL(data, 12);