mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 21:11:35 +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:
@@ -4,6 +4,11 @@
|
||||
#include "scripting/JSConversions.h"
|
||||
#include "scripting/ScriptingHost.h"
|
||||
|
||||
namespace JSI_Vector3D
|
||||
{
|
||||
static CVector3D* GetVector( JSContext* cx, JSObject* obj );
|
||||
}
|
||||
|
||||
JSClass JSI_Vector3D::JSI_class = {
|
||||
"Vector3D", JSCLASS_HAS_PRIVATE,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
|
||||
Reference in New Issue
Block a user