mirror of
https://github.com/g-truc/glm.git
synced 2026-06-08 10:33:48 +00:00
Supporess unused-variable warnings
This commit is contained in:
@@ -176,6 +176,10 @@ static int test_constexpr()
|
||||
|
||||
int main()
|
||||
{
|
||||
// Suppress unused variable warnings
|
||||
(void)g1;
|
||||
(void)g2;
|
||||
|
||||
int Error = 0;
|
||||
|
||||
Error += test_size();
|
||||
|
||||
@@ -400,6 +400,11 @@ static int test_swizzle()
|
||||
|
||||
int main()
|
||||
{
|
||||
// Suppress unused variable warnings
|
||||
(void)g1;
|
||||
(void)g2;
|
||||
(void)g3;
|
||||
|
||||
int Error = 0;
|
||||
|
||||
Error += test_size();
|
||||
|
||||
@@ -612,6 +612,11 @@ static int test_constexpr()
|
||||
|
||||
int main()
|
||||
{
|
||||
// Suppress unused variable warnings
|
||||
(void)g1;
|
||||
(void)g2;
|
||||
(void)g3;
|
||||
|
||||
int Error = 0;
|
||||
|
||||
Error += test_vec3_ctor();
|
||||
|
||||
@@ -770,6 +770,11 @@ static int test_simd_gen()
|
||||
*/
|
||||
int main()
|
||||
{
|
||||
// Suppress unused variable warnings
|
||||
(void)g1;
|
||||
(void)g2;
|
||||
(void)g3;
|
||||
|
||||
int Error = 0;
|
||||
|
||||
//Error += test_simd_gen();
|
||||
|
||||
Reference in New Issue
Block a user