]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/crimson/seastore/test_seastore.cc: should not return a value 58955/head
authorMatan Breizman <mbreizma@redhat.com>
Tue, 9 Jul 2024 16:33:45 +0000 (16:33 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 31 Jul 2024 08:45:16 +0000 (11:45 +0300)
commitcb187bae5d4c3ea7a171c7e45c624eba0fa22437
tree2ac5f343dff643565e1aafbbae3784bd305160f8
parent78ab247a5dce8df6fef526fb5307300719a9e63b
test/crimson/seastore/test_seastore.cc: should not return a value

clang++-14:

```
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/crimson/seastore/test_seastore.cc:86:5: error: void function 'do_transaction' should not return a value [-Wreturn-type]
    return sharded_seastore->do_transaction(
    ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/crimson/seastore/test_seastore.cc:94:5: error: void function 'set_meta' should not return a value [-Wreturn-type]
    return seastore->write_meta(key, value).get();
    ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 28a7ee81280073eb387ea3b7c8de5204be45f453)
src/test/crimson/seastore/test_seastore.cc