rbd: fix logically dead code in function list_process_image

Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
This commit is contained in:
Luo Kexue 2017-08-10 18:05:49 +03:00
parent 013948aa14
commit 50e9ce2201

View File

@ -141,7 +141,7 @@ int list_process_image(librados::Rados* rados, WorkerEntry* w, bool lflag, Forma
}
}
return r < 0 ? r : 0;
return 0;
}
int do_list(std::string &pool_name, bool lflag, int threads, Formatter *f) {