hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 72156e403c3e83b0091c764111ce6a75bd40c08e
parent 8dace9ad6dc4635b1415ad604d9ac2e6eac59f70
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat,  5 Nov 2016 17:05:18 +0100

hugolib: Simplify range

Diffstat:
Mhugolib/site.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/site.go b/hugolib/site.go
@@ -2265,7 +2265,7 @@ func (s *Site) getOrAddNode(nodeID string, add bool) *Node {
 
 	if !add {
 		// this is a test type error, print the keys
-		for k, _ := range s.nodeCache.m {
+		for k := range s.nodeCache.m {
 			fmt.Println("Node:", k)
 		}
 		return nil