intel, tests, glave: fix -Wunused-variable warnings
diff --git a/tests/render_tests.cpp b/tests/render_tests.cpp
index b05cfae..cc96698 100644
--- a/tests/render_tests.cpp
+++ b/tests/render_tests.cpp
@@ -406,7 +406,7 @@
 
 void dumpMatrix(const char *note, glm::mat4 MVP)
 {
-    int i,j;
+    int i;
 
     printf("%s: \n", note);
     for (i=0; i<4; i++) {
@@ -2625,7 +2625,7 @@
     ::testing::InitGoogleTest(&argc, argv);
     XglTestFramework::InitArgs(&argc, argv);
 
-    ::testing::Environment* const xgl_test_env = ::testing::AddGlobalTestEnvironment(new TestEnvironment);
+    ::testing::AddGlobalTestEnvironment(new TestEnvironment);
 
     result = RUN_ALL_TESTS();