mirror of
https://github.com/beego/bee.git
synced 2025-06-11 08:20:39 +00:00
add ineffassign check
This commit is contained in:
@ -360,7 +360,7 @@ func isParameterChar(b byte) bool {
|
||||
}
|
||||
|
||||
func (cw *colorWriter) Write(p []byte) (int, error) {
|
||||
r, nw, first, last := 0, 0, 0, 0
|
||||
var r, nw, first, last int
|
||||
if cw.mode != DiscardNonColorEscSeq {
|
||||
cw.state = outsideCsiCode
|
||||
cw.resetBuffer()
|
||||
|
Reference in New Issue
Block a user