robfig / soy

Go implementation for Soy templates (Google Closure templates)
MIT License
172 stars 41 forks source link

Remove ineffective assignment in parse/rawtext.go #79

Closed mbrukman closed 4 years ago

mbrukman commented 4 years ago

This was found via Go Report Card: https://goreportcard.com/report/github.com/robfig/soy#ineffassign

Line 84: warning: ineffectual assignment to seenNewline (ineffassign)

According to @robfig in https://github.com/robfig/soy/issues/78#issuecomment-649787848, this line can be removed.

All tests pass with this change.

Closes #78

robfig commented 4 years ago

🙏