Supporess unused-variable warnings

This commit is contained in:
Tom Kneiphof
2024-03-07 18:06:10 +01:00
committed by Christophe
parent 08a11905cf
commit 0df8dcb454
6 changed files with 51 additions and 0 deletions

View File

@@ -176,6 +176,10 @@ static int test_constexpr()
int main()
{
// Suppress unused variable warnings
(void)g1;
(void)g2;
int Error = 0;
Error += test_size();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();