git.samba.org
/
janger
/
samba-autobuild-v4-18-test
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be0e68
)
smbd: Remove two variables never set after initialization
author
Volker Lendecke
<vl@samba.org>
Fri, 30 Dec 2022 20:43:06 +0000
(21:43 +0100)
committer
Ralph Boehme
<slow@samba.org>
Wed, 4 Jan 2023 08:54:32 +0000
(08:54 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/smb2_getinfo.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_getinfo.c
b/source3/smbd/smb2_getinfo.c
index 9d2eaf4e1df2b4ac5e7cabd7112fb6fdff3c1357..64a129c928c0747a7f012ca8fd32ad11154b1039 100644
(file)
--- a/
source3/smbd/smb2_getinfo.c
+++ b/
source3/smbd/smb2_getinfo.c
@@
-298,8
+298,6
@@
static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
struct timespec write_time_ts;
struct file_id fileid;
struct ea_list *ea_list = NULL;
- int lock_data_count = 0;
- char *lock_data = NULL;
size_t fixed_portion;
ZERO_STRUCT(write_time_ts);
@@
-424,8
+422,8
@@
static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
delete_pending,
write_time_ts,
ea_list,
-
lock_data_count
,
-
lock_data
,
+
0
,
+
NULL
,
STR_UNICODE,
in_output_buffer_length,
&fixed_portion,