Remove unsed variables

This commit is contained in:
yuin 2019-12-02 18:26:06 +09:00
parent 5334c63923
commit 8a50115f03

View file

@ -186,8 +186,6 @@ func (b *atxHeadingParser) CanAcceptIndentedLine() bool {
return false
}
var attrAutoHeadingIDPrefix = []byte("heading")
func generateAutoHeadingID(node *ast.Heading, reader text.Reader, pc Context) {
var line []byte
lastIndex := node.Lines().Len() - 1