Ignore unexpected global vars.

This commit is contained in:
Alan Noble 2018-09-13 22:03:45 +00:00
parent 2bb8765254
commit 515e63802a
1 changed files with 0 additions and 4 deletions

View File

@ -36,7 +36,6 @@ import (
"runtime/pprof"
"strconv"
"time"
"unicode"
"bitbucket.org/ausocean/av/revid"
"bitbucket.org/ausocean/iot/pi/netsender"
@ -482,9 +481,6 @@ func updateRevid(ns *netsender.Sender, vars map[string]string, stop bool) error
rv.Log(revid.Warning, "Invalid VerticalFlip param: "+value)
}
default:
if unicode.IsUpper(rune(key[0])) {
rv.Log(revid.Warning, "Unexpected param: "+key)
} // else system params are lower case
}
}