]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
FileStore: remove unused local variable 'handle' 6381/head
authorxiexingguo <258156334@qq.com>
Mon, 26 Oct 2015 13:45:15 +0000 (21:45 +0800)
committerxiexingguo <258156334@qq.com>
Mon, 26 Oct 2015 23:34:02 +0000 (07:34 +0800)
Remove unused local variable 'handle' in FileStore::collection_empty
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/FileStore.cc

index 5f175444619372dcfce06ebe3732a1540b53a9da..dd4972eed1adae83916468407a636208c3fdf3fc 100644 (file)
@@ -4489,7 +4489,6 @@ bool FileStore::collection_empty(coll_t c)
   RWLock::RLocker l((index.index)->access_lock);
 
   vector<ghobject_t> ls;
-  collection_list_handle_t handle;
   r = index->collection_list_partial(ghobject_t(), ghobject_t::get_max(), true,
                                     1, &ls, NULL);
   if (r < 0) {