瀏覽代碼

Fix compiler warning in unit test: unused variable.

Kim Kulling 7 年之前
父節點
當前提交
d17cf76c85
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      test/unit/utSimd.cpp

+ 5 - 0
test/unit/utSimd.cpp

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