From: Sage Weil Date: Mon, 30 Jan 2012 01:26:55 +0000 (-0800) Subject: osd: remove unused var X-Git-Tag: v0.44~111^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=773acfdf3ed19d0f4ce0b19ef3df7b26522a1d85;p=ceph.git osd: remove unused var warning: osd/PG.cc:1331:20: variable 'plu' set but not used [-Wunused-but-set-variable] Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index e1dd7539960b..ae3bf1405b03 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1328,7 +1328,6 @@ void PG::activate(ObjectStore::Transaction& t, list& tfin, // update local version of peer's missing list! if (m && pi.last_backfill != hobject_t()) { - eversion_t plu = pi.last_update; for (list::iterator p = m->log.log.begin(); p != m->log.log.end(); p++)