From eb5584b9d5377a6214bc2525ed749023f274f8cf Mon Sep 17 00:00:00 2001 From: Changcheng Liu Date: Wed, 12 Aug 2020 09:20:09 +0800 Subject: [PATCH] mon: remove unused variable Signed-off-by: Changcheng Liu --- src/mon/Monitor.cc | 2 -- src/mon/OSDMonitor.cc | 1 - 2 files changed, 3 deletions(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 3ca46e9bc02b..2e599973ede2 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 1881d49a98b5..6baf67a2bfe7 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; -- 2.47.3