From 04b0ea3f9a43dd3d7760d91422592abb97628d66 Mon Sep 17 00:00:00 2001 From: Sherief Farouk Date: Mon, 5 Aug 2013 00:02:27 -0400 Subject: [PATCH] Initialized stride variable to prevent compiler warnings about potential use of unassigned variable. --- code/FBXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FBXParser.cpp b/code/FBXParser.cpp index 7b32e1df5..af0e929bf 100644 --- a/code/FBXParser.cpp +++ b/code/FBXParser.cpp @@ -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':