From: Jeremy Allison Date: Wed, 6 May 2020 18:30:51 +0000 (-0700) Subject: s3: VFS: Remove now-unused variable in shadow_copy2_get_real_filename(). X-Git-Tag: ldb-2.2.0~628 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=155883e85c9ef53bde3c294296ccec4ed5a9d0a5;p=thirdparty%2Fsamba.git s3: VFS: Remove now-unused variable in shadow_copy2_get_real_filename(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index f8f0f82e79e..5a9074e802b 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -2410,7 +2410,6 @@ static int shadow_copy2_get_real_filename(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, char **found_name) { - char *path = fname->base_name; struct shadow_copy2_private *priv = NULL; struct shadow_copy2_config *config = NULL; time_t timestamp = 0;