Skip to content

Commit

Permalink
Add -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
malleoz authored and vabold committed Jan 18, 2024
1 parent dec999e commit 2171fca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
'-isystem', 'build',
'-std=c++23',
'-Wall',
'-Werror=vla',
'-Werror=uninitialized',
'-Werror',
'-Wextra',
'-Wno-delete-non-virtual-dtor',
'-Wno-packed-bitfield-compat',
Expand Down
2 changes: 1 addition & 1 deletion source/game/scene/GameScene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void GameScene::reinit() {
}
}

void GameScene::appendResource(System::MultiDvdArchive *arc, s32 id) {}
void GameScene::appendResource(System::MultiDvdArchive * /*arc*/, s32 /*id*/) {}

void GameScene::initScene() {
createEngines();
Expand Down
2 changes: 1 addition & 1 deletion source/game/system/map/MapdataStageInfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MapdataStageInfo::MapdataStageInfo(const SData *data) : m_rawData(data) {
read(stream);
}

void MapdataStageInfo::read(EGG::Stream &stream) {}
void MapdataStageInfo::read(EGG::Stream & /*stream*/) {}

u8 MapdataStageInfo::polePosition() const {
return m_rawData->polePosition;
Expand Down

0 comments on commit 2171fca

Please sign in to comment.