]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/rgw: annotating variables with maybe_unused
authorRonen Friedman <rfriedma@redhat.com>
Wed, 5 Jul 2023 11:01:10 +0000 (06:01 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 5 Jul 2023 11:01:10 +0000 (06:01 -0500)
commit25890a22a929872cf073edab946d23ee5d6b5801
tree24be748c0903ad1c2ecf15160701fe8b12b47f13
parente509829189fd0456eadaf2a6e5aa02418971fc77
test/rgw: annotating variables with maybe_unused

Some variables in test/rgw/rgw_cr_test.cc are only used in
asserts, while this file is also used in builds without
NDEBUG set.
Adding the [[maybe_unused]] attribute clears the compilation
warnings.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/test/rgw/rgw_cr_test.cc