Browse Source

Fixed warnings with -Weverything

Christophe Riccio 8 years ago
parent
commit
0f34103f4f
2 changed files with 6 additions and 6 deletions
  1. 3 3
      test/core/core_type_vec3.cpp
  2. 3 3
      test/core/core_type_vec4.cpp

+ 3 - 3
test/core/core_type_vec3.cpp

@@ -7,9 +7,9 @@
 #include <cstdio>
 #include <vector>
 
-static glm::vec3 v1;
-static glm::vec3 v2(1);
-static glm::vec3 v3(1, 1, 1);
+static glm::vec3 g1;
+static glm::vec3 g2(1);
+static glm::vec3 g3(1, 1, 1);
 
 int test_vec3_ctor()
 {

+ 3 - 3
test/core/core_type_vec4.cpp

@@ -8,9 +8,9 @@
 #include <ctime>
 #include <vector>
 
-static glm::vec4 v1;
-static glm::vec4 v2(1);
-static glm::vec4 v3(1, 1, 1, 1);
+static glm::vec4 g1;
+static glm::vec4 g2(1);
+static glm::vec4 g3(1, 1, 1, 1);
 
 template <int Value>
 struct mask