]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: Remove now-unused variable in shadow_copy2_get_real_filename().
authorJeremy Allison <jra@samba.org>
Wed, 6 May 2020 18:30:51 +0000 (11:30 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 7 May 2020 16:24:42 +0000 (16:24 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_shadow_copy2.c

index f8f0f82e79ea9df61ec2170420581d5bbed09c4b..5a9074e802b3766dfc1ad11c28b36817e287f609 100644 (file)
@@ -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;