[nostalgia] Enable and fix -Wextra warnings

This commit is contained in:
2019-03-30 17:30:56 -05:00
parent 5afe78d015
commit 23b662c2aa
9 changed files with 22 additions and 24 deletions

View File

@@ -8,13 +8,11 @@
#include "worldeditor.hpp"
namespace nostalgia {
namespace world {
namespace nostalgia::world {
using namespace studio;
WorldEditor::WorldEditor(QString path, const Context *ctx) {
WorldEditor::WorldEditor(QString, const Context*) {
}
}
}

View File

@@ -94,14 +94,14 @@ struct Region {
};
template<typename T>
ox::Error modelRead(T *io, Region *obj) {
ox::Error modelRead(T *io, Region*) {
ox::Error err = 0;
io->setTypeInfo("nostalgia::World::Region", Region::Fields);
return err;
}
template<typename T>
ox::Error modelWrite(T *io, Region *obj) {
ox::Error modelWrite(T *io, Region*) {
ox::Error err = 0;
io->setTypeInfo("nostalgia::World::Region", Region::Fields);
return err;