Fixed over 500 compile warnings. Mostly:
* Unused variables. * Missing newlines at ends of #included files. * signed int loop variables where the termination condition is an unsigned 'get number of' function. * 'NULL' used inappropriately for an integer or character constant (NULL is a pointer) * abstract base classes with no virtual destructor. * Floating point constants used to initialise integer variables.
This commit is contained in:
@@ -76,10 +76,6 @@ GLDebugDrawer debugDrawer;
|
||||
|
||||
int main(int argc,char** argv)
|
||||
{
|
||||
|
||||
|
||||
int i;
|
||||
|
||||
char* filename = "file.obj";
|
||||
|
||||
|
||||
@@ -308,7 +304,7 @@ void ConvexDecompositionDemo::initPhysics(const char* filename)
|
||||
//convexDecomposition.performConvexDecomposition(desc);
|
||||
|
||||
ConvexBuilder cb(desc.mCallback);
|
||||
int ret = cb.process(desc);
|
||||
cb.process(desc);
|
||||
|
||||
if (outputFile)
|
||||
fclose(outputFile);
|
||||
|
||||
Reference in New Issue
Block a user