summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-09-24 18:28:52 -0700
committerKai Blin <kai@samba.org>2011-09-24 21:46:05 -0700
commit8eb80a9d832e08bb356507a870522b0b7180a10a (patch)
tree543fb534001d4a6cd30dd327f61fe2b074a8d905
parent649bfc474dc85c921c2739008eb2b645fd7e2baf (diff)
downloadsamba-8eb80a9d832e08bb356507a870522b0b7180a10a.tar.gz
samba-8eb80a9d832e08bb356507a870522b0b7180a10a.tar.bz2
samba-8eb80a9d832e08bb356507a870522b0b7180a10a.zip
libcli/smb: Get rid of set but unused variable
-rw-r--r--libcli/smb/smb2_create_blob.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcli/smb/smb2_create_blob.c b/libcli/smb/smb2_create_blob.c
index 31c67e99c7..9724823e31 100644
--- a/libcli/smb/smb2_create_blob.c
+++ b/libcli/smb/smb2_create_blob.c
@@ -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);