minor warning fixes, issue with "direction[i] = direction[i];" on OSX

This commit is contained in:
erwin.coumans
2010-02-23 18:08:44 +00:00
parent 621eddb769
commit 1425feec26
7 changed files with 11 additions and 10 deletions

View File

@@ -364,7 +364,8 @@ void btBulletFile::addStruct(const char* structType,void* data, int len, void* o
///Perform structure size validation
short* structInfo= mMemoryDNA->getStruct(dataChunk.dna_nr);
int elemBytes = mMemoryDNA->getLength(structInfo[0]);
int elemBytes;
elemBytes= mMemoryDNA->getLength(structInfo[0]);
// int elemBytes = mMemoryDNA->getElementSize(structInfo[0],structInfo[1]);
assert(len==elemBytes);