Initialized stride variable to prevent compiler warnings about potential use of unassigned variable.

pull/69/head
Sherief Farouk 2013-08-05 00:02:27 -04:00
parent 5f0bd28b15
commit 04b0ea3f9a
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ void ReadBinaryDataArray(char type, uint32_t count, const char*& data, const cha
ai_assert(data + comp_len == end);
// determine the length of the uncompressed data by looking at the type signature
uint32_t stride;
uint32_t stride = 0;
switch(type)
{
case 'f':