mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 20:39:40 +00:00
Removed -Werror again
This commit is contained in:
parent
a740a577a9
commit
0eae9d1504
3 changed files with 4 additions and 3 deletions
|
@ -251,7 +251,8 @@ endif (APPLE)
|
||||||
|
|
||||||
# Compiler settings
|
# Compiler settings
|
||||||
if (CMAKE_COMPILER_IS_GNUCC)
|
if (CMAKE_COMPILER_IS_GNUCC)
|
||||||
add_definitions (-Wall -Werror)
|
#add_definitions (-Wall -Werror)
|
||||||
|
add_definitions (-Wall)
|
||||||
endif (CMAKE_COMPILER_IS_GNUCC)
|
endif (CMAKE_COMPILER_IS_GNUCC)
|
||||||
|
|
||||||
# Apple bundling
|
# Apple bundling
|
||||||
|
|
|
@ -486,7 +486,7 @@ public:
|
||||||
{
|
{
|
||||||
int type = nif->getInt();
|
int type = nif->getInt();
|
||||||
|
|
||||||
int size;
|
int size = 0;
|
||||||
if(type == 1) size = 2; // time+scale
|
if(type == 1) size = 2; // time+scale
|
||||||
else if(type == 2) size = 4; // 1 + forward + backward (floats)
|
else if(type == 2) size = 4; // 1 + forward + backward (floats)
|
||||||
else if(type == 3) size = 5; // 1 + tbc
|
else if(type == 3) size = 5; // 1 + tbc
|
||||||
|
|
|
@ -72,7 +72,7 @@ void NIFFile::parse()
|
||||||
SString rec = getString();
|
SString rec = getString();
|
||||||
//cout << i << ": " << rec.toString() << endl;
|
//cout << i << ": " << rec.toString() << endl;
|
||||||
|
|
||||||
Record *r;
|
Record *r = NULL;
|
||||||
|
|
||||||
/* These are all the record types we know how to read.
|
/* These are all the record types we know how to read.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue