Last analyzed 991ffe6 19 days ago
Default analysis branch is
Currently analyzing run
Self-assignment of variables SCC-SA4018
Anti-pattern
a month ago6 months old
self-assignment of a to a
84
85func swap(a, b int) (int, int) {
86	temp := a
87	a = a88	b = temp
89	return a, b
90}