aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2021-03-04 20:29:28 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2021-03-04 20:29:28 +0000
commit3f3646855c4005670909c8e76de91ad07c559c66 (patch)
tree425cc81b0ef3e6987f9d1b76eb7bfaac2b8ee090
parentb4d22654fe9e90093e643cb7beb896c48a274d47 (diff)
fuzz: Avoid -Wreturn-type warnings
-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