mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-09 07:59:40 +00:00
Lots of gcc -Wall fixes. The common ones:
- switch() statements don't handle all values in an enum - missing \n at end of file - non-virtual destructors in classes containing virtual functions - order of initializers in constructor initializer lists ... some other stuff (signedness, nested comments, unused variables) as well. This was SVN commit r2864.
This commit is contained in:
@@ -34,7 +34,7 @@ bool CObjectBase::Load(const char* filename)
|
||||
#define EL(x) int el_##x = XeroFile.getElementID(#x)
|
||||
#define AT(x) int at_##x = XeroFile.getAttributeID(#x)
|
||||
EL(actor);
|
||||
EL(castshadow);
|
||||
//EL(castshadow);
|
||||
EL(material);
|
||||
EL(group);
|
||||
EL(variant);
|
||||
|
||||
Reference in New Issue
Block a user