summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-01 17:58:19 +0100
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-03-01 17:58:19 +0100
commit169552540ce8a4453e11fc09ebe6e880f3f430d0 (patch)
treecae7f7bf413b30fb9ab282e6ece743c417d0c0d2
parent91e24b821676cf116b144d22f1158a25a9a99393 (diff)
downloadceph-169552540ce8a4453e11fc09ebe6e880f3f430d0.tar.gz
ReplicatedPG.cc: remove unused variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r--src/osd/ReplicatedPG.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc
index f98f8db0e63..775a662a2be 100644
--- a/src/osd/ReplicatedPG.cc
+++ b/src/osd/ReplicatedPG.cc
@@ -352,7 +352,6 @@ int ReplicatedPG::do_command(vector<string>& cmd, ostream& ss,
{
jf.open_array_section("objects");
int32_t num = 0;
- set<int> empty;
bufferlist bl;
while (p != missing.missing.end() && num < g_conf->osd_command_max_records) {
jf.open_object_section("object");
@@ -3120,7 +3119,6 @@ int ReplicatedPG::_rollback_to(OpContext *ctx, ceph_osd_op& op)
if (obs.exists)
t.remove(coll, soid);
- map<string, bufferptr> attrs;
t.clone(coll,
rollback_to_sobject, soid);
snapset.head_exists = true;