]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: remove unused variable 4616/head
authorKefu Chai <kchai@redhat.com>
Fri, 8 May 2015 07:21:20 +0000 (15:21 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 8 May 2015 08:01:23 +0000 (16:01 +0800)
* as a side effect, this change silences
  http://tracker.ceph.com/issues/11576

Fixes: #11576
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc

index 73dcd5f046f5c12c73f250ec202bd94a7db59c1b..7caaa45de096ebb16f4092d264d4ff5bddebe3ab 100644 (file)
@@ -3174,8 +3174,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");