From: xiexingguo <258156334@qq.com> Date: Wed, 21 Oct 2015 06:08:04 +0000 (+0800) Subject: LFNIndex: remove redundant local variable 'obj'. X-Git-Tag: v10.0.0~69^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6333%2Fhead;p=ceph.git LFNIndex: remove redundant local variable 'obj'. local variable 'obj' in LFNIndex::list_subdirs() never used and shall be removed. Fixes: #13552 Signed-off-by: xie.xingguo@zte.com.cn --- diff --git a/src/os/LFNIndex.cc b/src/os/LFNIndex.cc index 48d8db37e838..90837b6702c8 100644 --- a/src/os/LFNIndex.cc +++ b/src/os/LFNIndex.cc @@ -467,7 +467,6 @@ int LFNIndex::list_subdirs(const vector &to_list, } string short_name(de->d_name); string demangled_name; - ghobject_t obj; if (lfn_is_subdir(short_name, &demangled_name)) { out->push_back(demangled_name); }