]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/osdmaptool.cc: remove some unused variables
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 11 Mar 2013 14:02:09 +0000 (15:02 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 11 Mar 2013 14:02:09 +0000 (15:02 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/osdmaptool.cc

index 66feeb94d8149924b7c30e8a12259f9015574586..c1091b69e643a8f7cf71f24df344b0ec4c03084d 100644 (file)
@@ -64,7 +64,6 @@ int main(int argc, const char **argv)
   bool clobber = false;
   bool modified = false;
   std::string export_crush, import_crush, test_map_pg, test_map_object;
-  list<entity_addr_t> add, rm;
   bool test_crush = false;
   int range_first = -1;
   int range_last = -1;
@@ -290,7 +289,7 @@ int main(int argc, const char **argv)
          for (int i=0; i<100; i++) {
            cout << pgid << " attempt " << i << std::endl;
 
-           vector<int> r, s;
+           vector<int> r;
            osdmap.pg_to_acting_osds(pgid, r);
            //cout << pgid << " " << r << std::endl;
            if (m.count(pgid)) {