]> git-server-git.apps.pok.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)
committersinguliere <singuliere@autistici.org>
Fri, 9 Apr 2021 05:57:55 +0000 (07:57 +0200)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 1e6225cadba18e85bf73b9614ebb64606b657ed8)

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;
     });
   }