No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2018-08-08 23:49:49 +03:00
testdata Mark named function results as used in operations that may panic. 2017-11-18 15:30:23 +01:00
.gitignore added .gitignore 2016-07-22 21:13:36 -06:00
bugs initial commit 2015-05-30 22:15:43 +02:00
ineffassign.go make API 2018-08-08 23:49:49 +03:00
ineffassign_test.go make API 2018-08-08 23:49:49 +03:00
LICENSE Add a MIT license 2016-03-27 14:51:28 +02:00
list Ignore testdata directories. 2015-11-29 15:06:40 +01:00
liststd Use control flow analysis to find more useless assignments. 2016-09-01 05:30:55 +02:00
README.md Add a note to the README about limitations. 2017-06-26 21:31:10 +02:00

ineffassign

Detect ineffectual assignments in Go code.

This tool misses some cases because 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.