aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-03-05 10:42:32 +0800
committerfanquake <fanquake@gmail.com>2021-03-05 10:42:38 +0800
commitda8c7edffe0c9efe99d56ec9e8b96b3b4e3e275f (patch)
treee99e609e8036e1b3bf99c1036ab915736a83e08c /src
parentfbf5d16238d67f901a1f151ddd7e68a17088eeee (diff)
parent3f3646855c4005670909c8e76de91ad07c559c66 (diff)
Merge #21364: fuzz: Avoid -Wreturn-type warnings
3f3646855c4005670909c8e76de91ad07c559c66 fuzz: Avoid -Wreturn-type warnings (practicalswift) Pull request description: Avoid `-Wreturn-type` warnings. Closes #21355. ACKs for top commit: MarcoFalke: cr ACK 3f3646855c4005670909c8e76de91ad07c559c66 fanquake: ACK 3f3646855c4005670909c8e76de91ad07c559c66 - thanks for cleaning this up. Tree-SHA512: 6fa2640a26e64d2bea60e016ad14b5c434137fedc0b3bf2ac244f02f9b1cd303d1ebac4ac4e6791534560f8311c4cbe9395c2ce94d7ec022d3b192f1ea070809
Diffstat (limited to 'src')
-rw-r--r--src/test/fuzz/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/fuzz/util.h b/src/test/fuzz/util.h
index d708dabb49..f2d43032f4 100644
--- a/src/test/fuzz/util.h
+++ b/src/test/fuzz/util.h
@@ -10,6 +10,7 @@
#include <attributes.h>
#include <chainparamsbase.h>
#include <coins.h>
+#include <compat.h>
#include <consensus/consensus.h>
#include <merkleblock.h>
#include <net.h>
@@ -545,11 +546,13 @@ public:
SOCKET Get() const override
{
assert(false && "Not implemented yet.");
+ return INVALID_SOCKET;
}
SOCKET Release() override
{
assert(false && "Not implemented yet.");
+ return INVALID_SOCKET;
}
void Reset() override