| 1 |
Description: Delete useless blank identifier. |
| 2 |
Author: Dawid Dziurla <[email protected]> |
| 3 |
|
| 4 |
Index: golang-github-badgerodon-collections/grid/grid.go |
| 5 |
=================================================================== |
| 6 |
--- golang-github-badgerodon-collections.orig/grid/grid.go |
| 7 |
+++ golang-github-badgerodon-collections/grid/grid.go |
| 8 |
@@ -31,7 +31,7 @@ func (this *Grid) Get(p Point) interface |
| 9 |
if p.X < 0 || p.Y < 0 || p.X >= this.cols || p.Y >= this.rows { |
| 10 |
return nil |
| 11 |
} |
| 12 |
|
| 13 |
+ v := this.values[p.X*this.cols+p.Y] |
| 14 |
return v |
| 15 |
} |
| 16 |
|