Fixup unused vars/imports
continuous-integration/drone/tag Build is passing Details

master 20200920-1
KemoNine 2 years ago
parent d335e1f85a
commit f2292f3099

@ -34,7 +34,6 @@ func main() {
})
// Get the various fan related config options as local variables
speedMap := pfConfig.Float64Map(config.CONFIG_KEY_FAN_SPEEDS)
POLL_INTERVAL := pfConfig.String(config.CONFIG_KEY_FAN_POLL_INTERVAL)
SPEED_FULL_TEMP := pfConfig.Float64(config.CONFIG_KEY_FAN_SPEEDS + "." + config.CONFIG_MAP_KEY_FAN_SPEED_100)
SPEED_SEVENTY_FIVE_PERCENT_TEMP := pfConfig.Float64(config.CONFIG_KEY_FAN_SPEEDS + "." + config.CONFIG_MAP_KEY_FAN_SPEED_75)

@ -56,7 +56,7 @@ func main() {
go func() {
for {
select {
case event, ok := <-watcher.Events:
case _, ok := <-watcher.Events:
if !ok {
return
}

Loading…
Cancel
Save