]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: fix unused variable warning in test_ino_release_cb.cc. 35763/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 25 Jun 2020 00:07:19 +0000 (02:07 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 25 Jun 2020 08:55:48 +0000 (10:55 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/test/fs/test_ino_release_cb.cc

index 4294698a46d109f34e500c331a4afc9012ca923c..61176fc1386a432d4feb9216e48ff294815f8fc3 100644 (file)
@@ -22,7 +22,7 @@ int main(int argc, char *argv[])
        ceph_conf_read_file(cmount, NULL);
        ceph_init(cmount);
 
-       int ret = ceph_mount(cmount, NULL);
+       [[maybe_unused]] int ret = ceph_mount(cmount, NULL);
        assert(ret >= 0);
        ret = ceph_mkdir(cmount, DIRNAME, 0755);
        assert(ret >= 0);