diff options
-rw-r--r-- | src/rgw/rgw_op.cc | 1 | ||||
-rw-r--r-- | src/rgw/rgw_op.h | 1 |
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) {} |