From: shiqi Date: Wed, 25 May 2016 09:33:07 +0000 (+0800) Subject: mon: Local variables("bufferlist proposal_bl") are not used X-Git-Tag: v11.0.0~264^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5c4390b5f7a63f76d960c419f670e62bfb9cab7d;p=ceph.git mon: Local variables("bufferlist proposal_bl") are not used Signed-off-by: shiqi --- diff --git a/src/mon/ConfigKeyService.cc b/src/mon/ConfigKeyService.cc index 59798f2bbc50..a6c6b458d06e 100644 --- a/src/mon/ConfigKeyService.cc +++ b/src/mon/ConfigKeyService.cc @@ -49,7 +49,6 @@ void ConfigKeyService::get_store_prefixes(set& s) void ConfigKeyService::store_put(string key, bufferlist &bl, Context *cb) { - bufferlist proposal_bl; MonitorDBStore::TransactionRef t = paxos->get_pending_transaction(); t->put(STORE_PREFIX, key, bl); if (cb) @@ -59,7 +58,6 @@ void ConfigKeyService::store_put(string key, bufferlist &bl, Context *cb) void ConfigKeyService::store_delete(string key, Context *cb) { - bufferlist proposal_bl; MonitorDBStore::TransactionRef t = paxos->get_pending_transaction(); t->erase(STORE_PREFIX, key); if (cb)