mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
fixed all non-void functions missing return values + removed the compiler flag -Wno-return-type
This commit is contained in:
parent
1b04526d9d
commit
1ed450b8e9
@ -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=(
|
||||
|
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user