]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/crimson/seastore: drop duplicated i++
authorKefu Chai <kchai@redhat.com>
Fri, 6 Aug 2021 16:39:11 +0000 (00:39 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 6 Aug 2021 16:39:18 +0000 (00:39 +0800)
for two reasons:

* to silence Clang warning
* it's very unusual to do this. and this is a bad smell.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/crimson/seastore/test_omap_manager.cc

index 47641039bc0d74a1577f9b66be1160b9def176a1..e267b44e76f33a79ba6d510054134f1acfe5b966 100644 (file)
@@ -507,7 +507,6 @@ TEST_F(omap_manager_test_t, replay)
         check_mappings(omap_root, *t);
         check_mappings(omap_root);
       }
-      i++;
     }
     logger().debug("finally submitting transaction ");
     submit_transaction(std::move(t));