]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/ObjectMap: Remove unused CONTROL_PREFIX variable 62511/head
authorKefu Chai <tchaikov@gmail.com>
Wed, 26 Mar 2025 02:51:32 +0000 (10:51 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 27 Mar 2025 00:03:34 +0000 (08:03 +0800)
commit439b1088828bbe354d426103efa397e1867cf783
treee33073cc06ab7938cb376370e7b8c1a28f5b86dd
parentec1feb7faffe4666e945d7730a03a7ba0f153a62
test/ObjectMap: Remove unused CONTROL_PREFIX variable

The `CONTROL_PREFIX` constant in `test_keyvaluedb_atomicity.cc` has
never been used since its introduction in commit 6a624b960a.

Clang's warning highlights the unused variable:
```
    warning: unused variable 'CONTROL_PREFIX' [-Wunused-const-variable]
```
Remove the unnecessary constant to clean up the code and eliminate
the compiler warning.

Refs 6a624b960a

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/test/ObjectMap/test_keyvaluedb_atomicity.cc