fixed all non-void functions missing return values + removed the compiler flag -Wno-return-type

This commit is contained in:
otavepto 2023-12-21 03:28:21 +02:00 committed by otavepto
parent 1b04526d9d
commit 1ed450b8e9
2 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ release_libs_dir64=(
"$zlib_lib64"
)
release_ignore_warn="-Wno-return-type -Wno-switch -Wno-int-to-void-pointer-cast -Wno-null-conversion"
release_ignore_warn="-Wno-switch -Wno-int-to-void-pointer-cast -Wno-null-conversion"
common_defs="-DGNUC -DUTF_CPP_CPLUSPLUS=201703L -DCURL_STATICLIB"
release_defs="$dbg_defs $common_defs"
release_src=(

View File

@ -218,9 +218,9 @@ public:
void OpenOverlay(const char* pchDialog) {}
void OpenOverlayWebpage(const char* pchURL) {}
bool ShowOverlay() const {}
bool ShowOverlay() const { return false; }
void ShowOverlay(bool state) {}
bool OpenOverlayHook(bool toggle) {}
bool OpenOverlayHook(bool toggle) { return false; }
void SetLobbyInvite(Friend friendId, uint64 lobbyId) {}
void SetRichInvite(Friend friendId, const char* connect_str) {}