Warning fixes

This commit is contained in:
Shauren
2016-07-19 20:01:13 +02:00
parent 298333a55a
commit 8e53373d35
2 changed files with 2 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ char* DB2SparseFileLoader::AutoProduceData(IndexTable const& indexTable, uint32
case FT_INT:
{
ASSERT(fieldBytes && fieldBytes <= 4);
uint32 val;
uint32 val = 0;
switch (fieldBytes)
{
case 1:

View File

@@ -45,7 +45,7 @@ bool Model::open()
_unload();
int32 m2start = 0;
uint32 m2start = 0;
char const* ptr = f.getBuffer();
while (m2start + 4 < f.getSize() && *reinterpret_cast<uint32 const*>(ptr) != '02DM')
{