]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: trivial cleanup from former fix attribute handling for swift bucket post and put
authorMarcus Watts <mwatts@redhat.com>
Sat, 22 Jun 2024 02:02:00 +0000 (22:02 -0400)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
Trivial "free' cleanup: this commit removes an unused variable "battrs".

This is a remanent of a much larger patch that now has a different
fix upstream.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
Conflicts:
src/rgw/rgw_op.cc
(cherry picked from commit 340d10bf63c8ae53021dd26c7ea7fbd35db5d4b8)

src/rgw/rgw_op.cc

index 255dfd3370d8fdc001c7d5af1180ce73489c2ba2..e3d325b9b373938869a7d9aba5a477f3d085740f 100644 (file)
@@ -3874,8 +3874,6 @@ void RGWCreateBucket::execute(optional_yield y)
      * changed in the meantime, we have to refresh. */
     short tries = 0;
     do {
-      map<string, bufferlist> battrs;
-
       op_ret = s->bucket->load_bucket(this, y);
       if (op_ret < 0) {
         return;