diff options
author | Miguel Borges de Freitas <92enen@gmail.com> | 2023-09-12 15:39:08 +0100 |
---|---|---|
committer | Miguel Borges de Freitas <92enen@gmail.com> | 2023-09-12 15:39:08 +0100 |
commit | 5fe88ed25197923592ea3973b1ccab271112527f (patch) | |
tree | 6a90fe37227e5f6e9c28a94cb2dbfcb304aec905 | |
parent | 7fbdd3cb4ced0e64d9d9af98ff2dbd82167c67a6 (diff) |
[tests] Fixup unused variable
-rw-r--r-- | xbmc/utils/test/TestGPUInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/utils/test/TestGPUInfo.cpp b/xbmc/utils/test/TestGPUInfo.cpp index ce3d4a6d79..331a62c3bd 100644 --- a/xbmc/utils/test/TestGPUInfo.cpp +++ b/xbmc/utils/test/TestGPUInfo.cpp @@ -32,6 +32,7 @@ TEST_F(TestGPUInfo, GetTemperature) EXPECT_NE(gpuInfo, nullptr); CTemperature t; bool success = gpuInfo->GetTemperature(t); + EXPECT_TRUE(success); EXPECT_TRUE(t.IsValid()); EXPECT_EQ(t.ToCelsius(), 50); } |