From: xiexingguo <258156334@qq.com> Date: Mon, 26 Oct 2015 13:45:15 +0000 (+0800) Subject: FileStore: remove unused local variable 'handle' X-Git-Tag: v10.0.0~44^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=deb41b3718c8490c6a0722fc482b45245d5c5ad4;p=ceph.git FileStore: remove unused local variable 'handle' Remove unused local variable 'handle' in FileStore::collection_empty Signed-off-by: xie xingguo --- diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 5f1754446193..dd4972eed1ad 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -4489,7 +4489,6 @@ bool FileStore::collection_empty(coll_t c) RWLock::RLocker l((index.index)->access_lock); vector ls; - collection_list_handle_t handle; r = index->collection_list_partial(ghobject_t(), ghobject_t::get_max(), true, 1, &ls, NULL); if (r < 0) {