[nostalgia] Enable and fix -Wextra warnings
This commit is contained in:
@@ -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*) {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user