summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-09-07 14:09:23 -0700
committerSage Weil <sage@inktank.com>2013-09-07 14:09:23 -0700
commitbc552647d4765a9c4ba08f1336059be498e0875b (patch)
tree231bde1020592b4c6a7207ddf1056d5bcc169c80
parentd5a85d927046644e2b71a1a9a9d2db69544b6e3e (diff)
parent13872785aeeddbe1b8dd97e49fd6a2d879514f8d (diff)
downloadceph-bc552647d4765a9c4ba08f1336059be498e0875b.tar.gz
Merge pull request #576 from ceph/wip-6078-2
rgw: fix get cors, delete cors Reviewed-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/rgw/rgw_op.cc1
-rw-r--r--src/rgw/rgw_op.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc
index b5ed3e7fd6f..114b8709a22 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 241584bac68..948a11830c2 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) {}