From 670db7e80ddc9c26c43a4f66907a5996ce207c4d Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Fri, 6 Sep 2013 22:33:38 -0700 Subject: [PATCH] rgw: fix get cors, delete cors Remove a couple of variables that overrode class member. Not really clear how it was working before, might have been a bad merge / rebase. Signed-off-by: Yehuda Sadeh (cherry picked from commit 13872785aeeddbe1b8dd97e49fd6a2d879514f8d) --- src/rgw/rgw_op.cc | 1 - src/rgw/rgw_op.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index b5ed3e7fd6fd4..114b8709a2233 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -1994,7 +1994,6 @@ int RGWDeleteCORS::verify_permission() void RGWDeleteCORS::execute() { - RGWCORSConfiguration bucket_cors; ret = read_bucket_cors(); if (ret < 0) return; diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index 241584bac68e8..948a11830c2c1 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -531,7 +531,6 @@ public: class RGWGetCORS : public RGWOp { protected: int ret; - RGWCORSConfiguration bucket_cors; public: RGWGetCORS() : ret(0) {} -- 2.39.5