diff options
author | Sage Weil <sage@inktank.com> | 2013-08-20 22:44:43 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-21 21:55:10 -0700 |
commit | 9242d01cc007f44f5be4e7138e9019234e61d6fc (patch) | |
tree | 03c21da1df5a0f33eabc729eeaa89d9270db5d88 | |
parent | 123f79bea8301aadbb11e8fd277af2e40102864f (diff) | |
download | ceph-9242d01cc007f44f5be4e7138e9019234e61d6fc.tar.gz |
ceph-monstore-tool: shut up coverity
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/tools/ceph-monstore-tool.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/ceph-monstore-tool.cc b/src/tools/ceph-monstore-tool.cc index 7d9ea628e9f..8f294c4a4e3 100644 --- a/src/tools/ceph-monstore-tool.cc +++ b/src/tools/ceph-monstore-tool.cc @@ -214,6 +214,7 @@ int main(int argc, char **argv) { } else if (cmd == "compact") { st.compact(); } else if (cmd == "getmonmap") { + assert(fd >= 0); if (!store_path.size()) { std::cerr << "need mon store path" << std::endl; std::cerr << desc << std::endl; |