summaryrefslogtreecommitdiffstats
path: root/src/tools/common.cc
diff options
context:
space:
mode:
authorGreg Farnum <gregory.farnum@dreamhost.com>2011-07-18 22:20:22 +0200
committerGreg Farnum <gregory.farnum@dreamhost.com>2011-07-18 22:24:41 +0200
commit7db65d57706a18e3d1ccbe2abe433c1d98bafdb0 (patch)
tree68ce1ae149c000c88045266c5e1bc069d05bb0b9 /src/tools/common.cc
parentclien: rados: bench: remove unused variables (diff)
downloadceph-7db65d57706a18e3d1ccbe2abe433c1d98bafdb0.tar.xz
ceph-7db65d57706a18e3d1ccbe2abe433c1d98bafdb0.zip
tools: remove unused variables
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Diffstat (limited to 'src/tools/common.cc')
-rw-r--r--src/tools/common.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/common.cc b/src/tools/common.cc
index 3392edb533d..89e52b21688 100644
--- a/src/tools/common.cc
+++ b/src/tools/common.cc
@@ -234,12 +234,10 @@ void send_observe_requests(CephToolCtx *ctx)
{
dout(1) << "send_observe_requests " << dendl;
- bool sent = false;
for (int i=0; i<PAXOS_NUM; i++) {
MMonObserve *m = new MMonObserve(ctx->mc.monmap.fsid, i, map_ver[i]);
dout(1) << "mon" << " <- observe " << get_paxos_name(i) << dendl;
ctx->mc.send_mon_message(m);
- sent = true;
}
registered.clear();