librados: remove unused local variables

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
xie xingguo 2016-02-24 16:59:33 +08:00
parent 8caa2e455c
commit 3cfb83d1d5

View File

@ -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())