From: huangjun Date: Fri, 6 May 2016 01:54:28 +0000 (+0800) Subject: os/filestore/LFNIndex: remove unused variable 'subdir_path' X-Git-Tag: ses5-milestone5~489^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f25fbf918aa0884c0a11c08637a1d99ba7c7edfd;p=ceph.git os/filestore/LFNIndex: remove unused variable 'subdir_path' Signed-off-by: huangjun --- diff --git a/src/os/filestore/LFNIndex.cc b/src/os/filestore/LFNIndex.cc index 3b3351325437..e0bccb19fd44 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) {