aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Borges de Freitas <92enen@gmail.com>2023-09-12 15:39:08 +0100
committerMiguel Borges de Freitas <92enen@gmail.com>2023-09-12 15:39:08 +0100
commit5fe88ed25197923592ea3973b1ccab271112527f (patch)
tree6a90fe37227e5f6e9c28a94cb2dbfcb304aec905
parent7fbdd3cb4ced0e64d9d9af98ff2dbd82167c67a6 (diff)
[tests] Fixup unused variable
-rw-r--r--xbmc/utils/test/TestGPUInfo.cpp1
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);
}