[Working In Progress] Suppress compiler warnings.

Suppress several warnings about unused variables.
This commit is contained in:
hujiajie
2016-07-10 14:22:32 +08:00
parent 81ae53e3a4
commit 8c573177eb
9 changed files with 6 additions and 22 deletions

View File

@@ -367,9 +367,8 @@ void TestJointTorqueSetup::initPhysics()
btSerializer* s = new btDefaultSerializer;
m_dynamicsWorld->serialize(s);
b3ResourcePath p;
char resourcePath[1024];
if (p.findResourcePath("multibody.bullet",resourcePath,1024))
if (b3ResourcePath::findResourcePath("multibody.bullet",resourcePath,1024))
{
FILE* f = fopen(resourcePath,"wb");
fwrite(s->getBufferPointer(),s->getCurrentBufferSize(),1,f);