From: Ronen Friedman Date: Mon, 19 Feb 2024 13:32:34 +0000 (-0600) Subject: test: fixing CI compilation of test_transaction.cc X-Git-Tag: v20.0.0~2558^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fe26408d214f1d8e949aff6379b58de56b43cd4c;p=ceph.git 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 --- diff --git a/src/test/objectstore/test_transaction.cc b/src/test/objectstore/test_transaction.cc index 381b9df7d642..a2113addeb95 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;