mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Warning fixes
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user