Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KSysGuard
Commits
3c51bd39
Commit
3c51bd39
authored
Oct 05, 2020
by
David Redondo
🏎
Browse files
Remove unused variable
parent
1bf87804
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/global/cpu/freebsdcpuplugin.cpp
View file @
3c51bd39
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment