Remove warnings.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1653 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2008-10-27 16:42:33 +00:00
parent 0373168320
commit df70ce4492
2 changed files with 2 additions and 3 deletions

View File

@ -192,7 +192,6 @@ bool CIrrDeviceLinux::createWindow()
#if defined(_IRR_LINUX_X11_VIDMODE_) || defined(_IRR_LINUX_X11_RANDR_)
s32 eventbase, errorbase;
s32 bestMode = -1;
s32 defaultDepth=DefaultDepth(display,screennr);
#endif
#ifdef _IRR_LINUX_X11_VIDMODE_

View File

@ -863,7 +863,8 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh)
for (j=0; j<dcnt; ++j)
{
const u32 type = readInt();
const u32 tesselator = readInt();
//const u32 tesselator = readInt();
readInt();
const u32 semantics = readInt();
const u32 index = readInt();
switch (semantics)
@ -1022,7 +1023,6 @@ bool CXMeshFileLoader::parseDataObjectSkinWeights(SXMesh &mesh)
return false;
}
mesh.HasSkinning=true;
CSkinnedMesh::SJoint *joint=0;