Skip to content

Commit fe26408

Browse files
committed
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 <[email protected]>
1 parent cbf7850 commit fe26408

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/objectstore/test_transaction.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ ObjectStore::Transaction generate_transaction()
9292

9393
coll_t acid;
9494
object_t aobj("another_test_name");
95-
snapid_t asnap(0);
9695
hobject_t ahoid(obj, "another_key", snap, 0, 0, "another_nspace");
9796
ghobject_t aoid(hoid);
9897
std::set<string> keys;
@@ -153,7 +152,6 @@ TEST(Transaction, GetNumBytes)
153152

154153
coll_t acid;
155154
object_t aobj("another_test_name");
156-
snapid_t asnap(0);
157155
hobject_t ahoid(obj, "another_key", snap, 0, 0, "another_nspace");
158156
ghobject_t aoid(hoid);
159157
std::set<string> keys;

0 commit comments

Comments
 (0)