From: Changcheng Liu Date: Wed, 12 Aug 2020 01:20:09 +0000 (+0800) Subject: mon: remove unused variable X-Git-Tag: v16.1.0~1381^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eb5584b9d5377a6214bc2525ed749023f274f8cf;p=ceph.git mon: remove unused variable Signed-off-by: Changcheng Liu --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 3ca46e9bc02..2e599973ede 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -3268,8 +3268,6 @@ void Monitor::handle_command(MonOpRequestRef op) return; } - string err; - dout(0) << "handle_command " << *m << dendl; string format; diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 1881d49a98b..6baf67a2bfe 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -5390,7 +5390,6 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op) prefix == "osd getcrushmap" || prefix == "osd ls-tree" || prefix == "osd info") { - string val; epoch_t epoch = 0; int64_t epochnum;