2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-03 07:45:30 +00:00

pwmconfig: Declare TMP1 and TMP2 on a separate line

Declare TMP1 and TMP2 on a separate line to make Coverity Scan happy.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
Ondřej Lysoněk
2018-05-08 21:20:23 +02:00
committed by Guenter Roeck
parent fb595f55d1
commit e0c146763b

View File

@@ -330,7 +330,8 @@ STEP2_BELOW=31
function pwmdetail()
{
local P=$1 F=$2
local X PLOT= TMP1 TMP2
local X PLOT=
local TMP1 TMP2
local threshold=100000 pwm S
type $PLOTTER > /dev/null 2>&1