diff --git a/context.go b/context.go index c94926e1..7df87e14 100644 --- a/context.go +++ b/context.go @@ -105,7 +105,7 @@ func (c *Context) Handler() HandlerFunc { // See example in GitHub. func (c *Context) Next() { c.index++ - for s := int8(len(c.handlers)); c.index < s; c.index++ { + for ; c.index < int8(len(c.handlers)); c.index++ { c.handlers[c.index](c) } }