You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
include\glm\detail\func_vector_relational.inl(17): warning C4701: potentially uninitialized local variable 'Result' used
This isn't a bug because the Result vector is always populated in the loop, and there is already an assertion to check the lengths are equal to be sure. I guess it'd be wasteful to initialize the result vector at the beginning, but it would be nice to silence such warnings within glm.
The text was updated successfully, but these errors were encountered:
The following code:
glm/glm/detail/func_vector_relational.inl
Lines 8 to 18 in 0d973b4
Produces this warning with MSVC 2013 update 5:
This isn't a bug because the
Result
vector is always populated in the loop, and there is already an assertion to check the lengths are equal to be sure. I guess it'd be wasteful to initialize the result vector at the beginning, but it would be nice to silence such warnings within glm.The text was updated successfully, but these errors were encountered: