From ad82970101d8da9791ffcb2f9142ea0bb181502c Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 22 Oct 2017 16:32:05 +0200 Subject: [PATCH] Fixed warning #685 --- glm/gtc/matrix_access.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtc/matrix_access.inl b/glm/gtc/matrix_access.inl index dd307a01..176136ab 100644 --- a/glm/gtc/matrix_access.inl +++ b/glm/gtc/matrix_access.inl @@ -28,7 +28,7 @@ namespace glm { 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) Result[i] = m[i][index]; return Result;