diff options
author | наб <[email protected]> | 2022-02-16 13:09:27 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-18 09:34:08 -0800 |
commit | 46c7a80280a5d36a9bc1b167ceadc316196965df (patch) | |
tree | b875f3710fb90940a3639b85b77461f41adf4b2a /lib/libshare/os | |
parent | ef70eff1982228862ef9ad70f21b222cde06eb5e (diff) |
userspace: mark arguments used
Reviewed-by: Alejandro Colomar <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13110
Diffstat (limited to 'lib/libshare/os')
-rw-r--r-- | lib/libshare/os/freebsd/nfs.c | 1 | ||||
-rw-r--r-- | lib/libshare/os/freebsd/smb.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/libshare/os/freebsd/nfs.c b/lib/libshare/os/freebsd/nfs.c index 494442cb5..ea02dc1ba 100644 --- a/lib/libshare/os/freebsd/nfs.c +++ b/lib/libshare/os/freebsd/nfs.c @@ -155,6 +155,7 @@ nfs_is_shared(sa_share_impl_t impl_share) static int nfs_validate_shareopts(const char *shareopts) { + (void) shareopts; return (SA_OK); } diff --git a/lib/libshare/os/freebsd/smb.c b/lib/libshare/os/freebsd/smb.c index 5b606ab96..a25990d3b 100644 --- a/lib/libshare/os/freebsd/smb.c +++ b/lib/libshare/os/freebsd/smb.c @@ -47,6 +47,7 @@ static sa_fstype_t *smb_fstype; static int smb_enable_share(sa_share_impl_t impl_share) { + (void) impl_share; fprintf(stderr, "No SMB support in FreeBSD yet.\n"); return (SA_NOT_SUPPORTED); } @@ -56,6 +57,7 @@ smb_enable_share(sa_share_impl_t impl_share) static int smb_disable_share(sa_share_impl_t impl_share) { + (void) impl_share; fprintf(stderr, "No SMB support in FreeBSD yet.\n"); return (SA_NOT_SUPPORTED); } @@ -66,6 +68,7 @@ smb_disable_share(sa_share_impl_t impl_share) static int smb_validate_shareopts(const char *shareopts) { + (void) shareopts; fprintf(stderr, "No SMB support in FreeBSD yet.\n"); return (SA_NOT_SUPPORTED); } @@ -76,6 +79,7 @@ smb_validate_shareopts(const char *shareopts) static boolean_t smb_is_share_active(sa_share_impl_t impl_share) { + (void) impl_share; return (B_FALSE); } @@ -88,6 +92,7 @@ smb_is_share_active(sa_share_impl_t impl_share) static int smb_update_shareopts(sa_share_impl_t impl_share, const char *shareopts) { + (void) impl_share, (void) shareopts; return (SA_OK); } |