]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: fix warning 16655/head
authorSage Weil <sage@redhat.com>
Fri, 28 Jul 2017 14:07:23 +0000 (10:07 -0400)
committerSage Weil <sage@redhat.com>
Fri, 28 Jul 2017 14:07:23 +0000 (10:07 -0400)
Introduced by 4af49a886679ceb8e8afba47f04e828e5911e325

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.h

index d0536fd61b5e8429f6a4fb8ec5a6c2daf97dccb9..5ce78db003ae19d4e28575fb4db1ca4069c8b0af 100644 (file)
@@ -1936,6 +1936,7 @@ public:
       explicit NotRecovering(my_context ctx);
       boost::statechart::result react(const CancelRecovery& evt) {
        /* no-op */
+       return discard_event();
       }
       void exit();
     };