From: Jennifer Sutton Date: Tue, 20 Jan 2026 21:16:46 +0000 (+1300) Subject: s3:lib: Remove unused code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e737c9e03a7175b09a5149025792174097cef247;p=thirdparty%2Fsamba.git s3:lib: Remove unused code Signed-off-by: Jennifer Sutton Reviewed-by: Douglas Bagnall --- diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index 52e5f384b83..e68be47f3c9 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -250,10 +250,7 @@ static int command_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t const char *get_quota_command = NULL; char **lines = NULL; char *line = NULL; - const char *p = NULL; - char *p2 = NULL; int _id = -1; - int error = 0; char **argl = NULL; int ret; @@ -340,11 +337,6 @@ static int command_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t dp->ihardlimit, dp->bsize); return 0; - -invalid_param: - TALLOC_FREE(lines); - DBG_ERR("The output of get_quota_command is invalid!\n"); - return -1; } static int command_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp)