From: Danny Al-Gaaf Date: Thu, 7 Feb 2013 19:09:23 +0000 (+0100) Subject: src/mon/PGMonitor.cc: remove unused variable X-Git-Tag: v0.58~109^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=72ff80613695b6e55161b7c34bc2d56622fb0b8f;p=ceph.git src/mon/PGMonitor.cc: remove unused variable Remove unused variable to fix: mon/PGMonitor.cc:170:11: warning: unused variable 'now' [-Wunused-variable] Signed-off-by: Danny Al-Gaaf --- diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index 7e9b83ba5e0d..f34ffb8a7042 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -167,7 +167,6 @@ void PGMonitor::update_from_paxos() } // walk through incrementals - utime_t now(ceph_clock_now(g_ceph_context)); while (paxosv > pg_map.version) { bufferlist bl; bool success = paxos->read(pg_map.version+1, bl);