Skip to content

Commit 439b108

Browse files
committed
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 6a624b9. 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 6a624b9 Signed-off-by: Kefu Chai <[email protected]>
1 parent ec1feb7 commit 439b108

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/ObjectMap/test_keyvaluedb_atomicity.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
using namespace std;
1717

18-
const string CONTROL_PREFIX = "CONTROL";
1918
const string PRIMARY_PREFIX = "PREFIX";
2019
const int NUM_COPIES = 100;
2120
const int NUM_THREADS = 30;

0 commit comments

Comments
 (0)