]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: remove unused variable 5129/head
authorKefu Chai <kchai@redhat.com>
Fri, 8 May 2015 07:21:20 +0000 (15:21 +0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 2 Jul 2015 13:32:15 +0000 (15:32 +0200)
* as a side effect, this change silences
  http://tracker.ceph.com/issues/11576

Fixes: #11576
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit e7b196a4a091c0ea258866559ba06e7ed0cc4247)

src/mon/OSDMonitor.cc

index 861fac8cd901db40804b31af0af093c47584e58b..9fac2c9aec53c798644ca6a08ad63741c58cbdd5 100644 (file)
@@ -2481,8 +2481,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");