From 62b47ddf261a40eb84e395396c277a1212f5328c Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 5 Mar 2021 10:42:32 +0800 Subject: [PATCH] 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 --- src/test/fuzz/util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/fuzz/util.h b/src/test/fuzz/util.h index 765dfcffbf..5d3a7a2982 100644 --- a/src/test/fuzz/util.h +++ b/src/test/fuzz/util.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -521,11 +522,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