From fe26408d214f1d8e949aff6379b58de56b43cd4c Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Mon, 19 Feb 2024 07:32:34 -0600 Subject: [PATCH] test: fixing CI compilation of test_transaction.cc Fixing a compilation warning in test_transaction.cc, as the CI builds it with '-Werror'. See https://jenkins.ceph.com/job/ceph-pull-requests/129517/ Signed-off-by: Ronen Friedman --- src/test/objectstore/test_transaction.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/objectstore/test_transaction.cc b/src/test/objectstore/test_transaction.cc index 381b9df7d64..a2113addeb9 100644 --- a/src/test/objectstore/test_transaction.cc +++ b/src/test/objectstore/test_transaction.cc @@ -92,7 +92,6 @@ ObjectStore::Transaction generate_transaction() coll_t acid; object_t aobj("another_test_name"); - snapid_t asnap(0); hobject_t ahoid(obj, "another_key", snap, 0, 0, "another_nspace"); ghobject_t aoid(hoid); std::set keys; @@ -153,7 +152,6 @@ TEST(Transaction, GetNumBytes) coll_t acid; object_t aobj("another_test_name"); - snapid_t asnap(0); hobject_t ahoid(obj, "another_key", snap, 0, 0, "another_nspace"); ghobject_t aoid(hoid); std::set keys; -- 2.39.5