Commit 3c51bd39 authored by David Redondo's avatar David Redondo 🏎

Remove unused variable

parent 1bf87804
......@@ -42,7 +42,6 @@ FreeBsdCpuObject::FreeBsdCpuObject(const QString &id, const QString &name, Senso
}
const QByteArray tjmax = QByteArrayLiteral("dev.cpu.") + id.right(1).toLocal8Bit() + QByteArrayLiteral(".coretemp.tjmax");
int maxTemperature;
size_t maxTemperatureSize = sizeof(maxTemperature);
// This is only availabel on Intel (using the coretemp driver)
if (readSysctl(tjmax.constData(), &maxTemperature)) {
m_temperature->setMax(maxTemperature);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment