mirror of https://github.com/tidwall/tile38.git
ineffassign97
This commit is contained in:
parent
8a97ea2218
commit
00ae41f0d4
|
@ -13,7 +13,7 @@ func (c *Controller) cmdOutput(msg *server.Message) (res string, err error) {
|
||||||
var arg string
|
var arg string
|
||||||
var ok bool
|
var ok bool
|
||||||
if len(vs) != 0 {
|
if len(vs) != 0 {
|
||||||
if vs, arg, ok = tokenval(vs); !ok || arg == "" {
|
if _, arg, ok = tokenval(vs); !ok || arg == "" {
|
||||||
return "", errInvalidNumberOfArguments
|
return "", errInvalidNumberOfArguments
|
||||||
}
|
}
|
||||||
// Setting the original message output type will be picked up by the
|
// Setting the original message output type will be picked up by the
|
||||||
|
|
Loading…
Reference in New Issue