Fixed warning #685

This commit is contained in:
Christophe Riccio 2017-10-22 16:32:05 +02:00
parent 25e7bef346
commit ad82970101

View File

@ -28,7 +28,7 @@ namespace glm
{ {
assert(index >= 0 && index < m[0].length()); assert(index >= 0 && index < m[0].length());
typename genType::row_type Result; typename genType::row_type Result(0);
for(length_t i = 0; i < m.length(); ++i) for(length_t i = 0; i < m.length(); ++i)
Result[i] = m[i][index]; Result[i] = m[i][index];
return Result; return Result;