Fix missing returns.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
ca7542f39a
commit
1d12b788ea
3 changed files with 3 additions and 2 deletions
|
@ -53,7 +53,7 @@ target_link_libraries(applen
|
|||
|
||||
include_directories(source)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-multichar")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-multichar -Werror=return-type")
|
||||
|
||||
MESSAGE("CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
|
||||
MESSAGE("CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
|
||||
|
|
|
@ -258,6 +258,7 @@ namespace
|
|||
|
||||
VideoUninitialize();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ std::string Phasor_GetSnapshotCardName() { return ""; }
|
|||
void CMouseInterface::SaveSnapshot(YamlSaveHelper&) { }
|
||||
void IPropertySheet::ApplyNewConfig(CConfigNeedingRestart const&, CConfigNeedingRestart const&) { }
|
||||
void FrameUpdateApple2Type() { }
|
||||
bool SetCurrentImageDir(char const*) { }
|
||||
bool SetCurrentImageDir(char const*) { return true; }
|
||||
void CMouseInterface::Uninitialize() { }
|
||||
void CSuperSerialCard::SaveSnapshot(YamlSaveHelper&) { }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue