]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: remove unused variable pool_name 28340/head
authorwujian <wujian@t2cloud.net>
Fri, 31 May 2019 08:05:59 +0000 (04:05 -0400)
committerwujian <wujian@t2cloud.net>
Fri, 31 May 2019 08:05:59 +0000 (04:05 -0400)
Signed-off-by: Alex Wu <wujian3659@163.com>
src/mgr/ActivePyModules.cc

index d5520c310e983138205bce38ef79e4e1add591fa..57ab93a74c6344ec9c6098e3db2108eec4bf9a38 100644 (file)
@@ -346,7 +346,6 @@ PyObject *ActivePyModules::get_python(const std::string &what)
     return f.get();
   } else if (what == "osd_pool_stats") {
     int64_t poolid = -ENOENT;
-    string pool_name;
     cluster_state.with_osdmap_and_pgmap([&](const OSDMap& osdmap,
                                            const PGMap& pg_map) {
         PyEval_RestoreThread(tstate);