]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: remove unused var
authorSage Weil <sage.weil@dreamhost.com>
Mon, 30 Jan 2012 01:26:55 +0000 (17:26 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Mon, 30 Jan 2012 01:26:55 +0000 (17:26 -0800)
warning: osd/PG.cc:1331:20: variable 'plu' set but not used [-Wunused-but-set-variable]

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.cc

index e1dd7539960ba7c926fc925cd43a56039ff1b439..ae3bf1405b033bf662b6bbd9b18672183a89d5d7 100644 (file)
@@ -1328,7 +1328,6 @@ void PG::activate(ObjectStore::Transaction& t, list<Context*>& tfin,
 
       // update local version of peer's missing list!
       if (m && pi.last_backfill != hobject_t()) {
-        eversion_t plu = pi.last_update;
         for (list<Log::Entry>::iterator p = m->log.log.begin();
              p != m->log.log.end();
              p++)