Selaa lähdekoodia

Fix compiler warning in unit test: unused variable.

Kim Kulling 7 vuotta sitten
vanhempi
commit
d17cf76c85
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      test/unit/utSimd.cpp

+ 5 - 0
test/unit/utSimd.cpp

@@ -54,4 +54,9 @@ TEST_F( utSimd, SSE2SupportedTest ) {
     bool isSupported;
 
     isSupported = CPUSupportsSSE2();
+    if ( isSupported ) {
+        std::cout << "Supported" << std::endl;
+    } else {
+        std::cout << "Not supported" << std::endl;
+    }
 }