- fix gcc-specific compiler warnings.
pull/321/head
Kim Kulling 2014-07-31 15:09:49 +02:00
parent 9b4e7c7efb
commit 5d861a8250
3 changed files with 3 additions and 2 deletions

View File

@ -534,7 +534,6 @@ void OgreBinarySerializer::ReadSubMeshTextureAlias(SubMesh *submesh)
void OgreBinarySerializer::ReadSubMeshNames(Mesh *mesh) void OgreBinarySerializer::ReadSubMeshNames(Mesh *mesh)
{ {
uint16_t id = 0; uint16_t id = 0;
uint16_t submeshIndex = 0;
if (!AtEnd()) if (!AtEnd())
{ {

View File

@ -75,8 +75,8 @@ private:
}; };
OgreBinarySerializer(MemoryStreamReader *reader, AssetMode mode) : OgreBinarySerializer(MemoryStreamReader *reader, AssetMode mode) :
m_reader(reader),
m_currentLen(0), m_currentLen(0),
m_reader(reader),
assetMode(mode) assetMode(mode)
{ {
} }

View File

@ -963,6 +963,8 @@ aiAnimation *Animation::ConvertToAssimpAnimation()
// Skeleton // Skeleton
Skeleton::Skeleton() : Skeleton::Skeleton() :
bones(),
animations(),
blendMode(ANIMBLEND_AVERAGE) blendMode(ANIMBLEND_AVERAGE)
{ {
} }