Skip to content
Detect ineffectual assignments in Go code.
Go
Branch: master
Clone or download

README.md

ineffassign

Detect ineffectual assignments in Go code.

This tool misses some cases because it does not consider any type information in its analysis. (For example, assignments to struct fields are never marked as ineffectual.) It should, however, never give any false positives.

You can’t perform that action at this time.