From: Kefu Chai Date: Fri, 8 May 2015 07:21:20 +0000 (+0800) Subject: mon: remove unused variable X-Git-Tag: v0.94.3~50^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5122%2Fhead;p=ceph.git mon: remove unused variable * as a side effect, this change silences http://tracker.ceph.com/issues/11576 Fixes: #11576 Signed-off-by: Kefu Chai (cherry picked from commit e7b196a4a091c0ea258866559ba06e7ed0cc4247) --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 79b519a06391..cc4e1869f8c6 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2998,8 +2998,6 @@ bool OSDMonitor::preprocess_command(MMonCommand *m) } else if (prefix == "osd crush get-tunable") { string tunable; cmd_getval(g_ceph_context, cmdmap, "tunable", tunable); - int value; - cmd_getval(g_ceph_context, cmdmap, "value", value); ostringstream rss; if (f) f->open_object_section("tunable");