Merge #21364: fuzz: Avoid -Wreturn-type warnings

3f3646855c fuzz: Avoid -Wreturn-type warnings (practicalswift)

Pull request description:

  Avoid `-Wreturn-type` warnings.

  Closes #21355.

ACKs for top commit:
  MarcoFalke:
    cr ACK 3f3646855c
  fanquake:
    ACK 3f3646855c - thanks for cleaning this up.

Tree-SHA512: 6fa2640a26e64d2bea60e016ad14b5c434137fedc0b3bf2ac244f02f9b1cd303d1ebac4ac4e6791534560f8311c4cbe9395c2ce94d7ec022d3b192f1ea070809
pull/21370/head
fanquake 4 years ago
commit da8c7edffe
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -10,6 +10,7 @@
#include <attributes.h> #include <attributes.h>
#include <chainparamsbase.h> #include <chainparamsbase.h>
#include <coins.h> #include <coins.h>
#include <compat.h>
#include <consensus/consensus.h> #include <consensus/consensus.h>
#include <merkleblock.h> #include <merkleblock.h>
#include <net.h> #include <net.h>
@ -545,11 +546,13 @@ public:
SOCKET Get() const override SOCKET Get() const override
{ {
assert(false && "Not implemented yet."); assert(false && "Not implemented yet.");
return INVALID_SOCKET;
} }
SOCKET Release() override SOCKET Release() override
{ {
assert(false && "Not implemented yet."); assert(false && "Not implemented yet.");
return INVALID_SOCKET;
} }
void Reset() override void Reset() override

Loading…
Cancel
Save