From f25fbf918aa0884c0a11c08637a1d99ba7c7edfd Mon Sep 17 00:00:00 2001 From: huangjun Date: Fri, 6 May 2016 09:54:28 +0800 Subject: [PATCH] os/filestore/LFNIndex: remove unused variable 'subdir_path' Signed-off-by: huangjun --- src/os/filestore/LFNIndex.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/os/filestore/LFNIndex.cc b/src/os/filestore/LFNIndex.cc index 3b33513254374..e0bccb19fd443 100644 --- a/src/os/filestore/LFNIndex.cc +++ b/src/os/filestore/LFNIndex.cc @@ -720,7 +720,6 @@ int LFNIndex::lfn_get_name(const vector &path, string *mangled_name, string *out_path, int *hardlink) { - string subdir_path = get_full_path_subdir(path); string full_name = lfn_generate_object_name(oid); int r; @@ -879,8 +878,6 @@ int LFNIndex::lfn_unlink(const vector &path, return -errno; return 0; } - string subdir_path = get_full_path_subdir(path); - int i = 0; for ( ; ; ++i) {