mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
param: add const to a local variable to prevent a warning about lp_fstype
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Change-Id: Idc9217eb812b018fed933f84c2c4f1818f8f9372 Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
This commit is contained in:
parent
8246e53bb6
commit
0c8e9cc757
@ -3077,7 +3077,7 @@ NTSTATUS smbd_do_qfsinfo(connection_struct *conn,
|
|||||||
int data_len = 0, len;
|
int data_len = 0, len;
|
||||||
const char *vname = volume_label(talloc_tos(), SNUM(conn));
|
const char *vname = volume_label(talloc_tos(), SNUM(conn));
|
||||||
int snum = SNUM(conn);
|
int snum = SNUM(conn);
|
||||||
char *fstype = lp_fstype(SNUM(conn));
|
const char *fstype = lp_fstype(SNUM(conn));
|
||||||
const char *filename = NULL;
|
const char *filename = NULL;
|
||||||
uint32 additional_flags = 0;
|
uint32 additional_flags = 0;
|
||||||
struct smb_filename smb_fname;
|
struct smb_filename smb_fname;
|
||||||
|
Loading…
Reference in New Issue
Block a user