mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
librados: remove unused local variables
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
parent
8caa2e455c
commit
3cfb83d1d5
@ -475,7 +475,6 @@ int librados::IoCtxImpl::nlist(Objecter::NListContext *context, int max_entries)
|
||||
Cond cond;
|
||||
bool done;
|
||||
int r = 0;
|
||||
object_t oid;
|
||||
Mutex mylock("IoCtxImpl::nlist::mylock");
|
||||
|
||||
if (context->at_end())
|
||||
@ -506,7 +505,6 @@ int librados::IoCtxImpl::list(Objecter::ListContext *context, int max_entries)
|
||||
Cond cond;
|
||||
bool done;
|
||||
int r = 0;
|
||||
object_t oid;
|
||||
Mutex mylock("IoCtxImpl::list::mylock");
|
||||
|
||||
if (context->at_end())
|
||||
|
Loading…
Reference in New Issue
Block a user