]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/rgw: Fix clang compiler warnings.
authorAlex Ainscow <aainscow@uk.ibm.com>
Mon, 6 Oct 2025 09:43:26 +0000 (10:43 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Mon, 6 Oct 2025 09:47:30 +0000 (10:47 +0100)
commitec2923adde43e7b1cc6a0a8328d612542e4b7bfb
tree532fd4d26d065ecdb6c3a3044e6b84dfeea687d5
parent0d689e9be3e8efb066923ab98d1cb43d443b1fd7
crimson/rgw: Fix clang compiler warnings.

These fixes address compiler warnings that may only be present in
clang builds.

In RGW, the problem is a warning not implemented in clang. Despite
apparantly being a GCC-specific pragma, clang actually attempts to
honour the progma and "helpfully" warns that it did not work.

In crimson, the changes to store bench are following the recommended
action in the warning produced by clang.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/crimson/tools/store_bench/store-bench.cc
src/rgw/rgw_s3select_private.h