]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librados: Remove unused capture
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 6 Apr 2021 19:18:34 +0000 (15:18 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 7 Apr 2021 17:29:08 +0000 (13:29 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/test/librados/service.cc

index bc8e26efaf4d89aee3204af00728d0a9f71d7dea..06e6723346f245f1da4c4fba74ec89d35cabb1c1 100644 (file)
@@ -115,7 +115,7 @@ TEST(LibRadosService, StatusFormat) {
 
   {
     std::unique_lock<std::mutex> l(lock);
-    cond.wait(l, [nthreads, &threads_started] {
+    cond.wait(l, [&threads_started] {
       return nthreads == threads_started;
     });
   }