]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/migration: removing an unused capture 38738/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 30 Dec 2020 06:35:00 +0000 (08:35 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 30 Dec 2020 06:35:00 +0000 (08:35 +0200)
...silencing a compiler warning.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/test/librbd/migration/test_mock_RawFormat.cc

index fd83de013be0f00cda294b4e8f4da05d6bb9da33..6b69bf20c4bedcf6eddc79c64005450edc400290 100644 (file)
@@ -127,7 +127,7 @@ public:
 
   void expect_close(MockTestImageCtx &mock_image_ctx, int r) {
     EXPECT_CALL(*mock_image_ctx.state, close(_))
-      .WillOnce(Invoke([this, r](Context* ctx) {
+      .WillOnce(Invoke([r](Context* ctx) {
                   ctx->complete(r);
                 }));
   }