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:
prefect
2005-10-07 15:24:29 +00:00
parent 8529426fa8
commit 04650efe7a
49 changed files with 121 additions and 66 deletions
@@ -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,