hugo

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

git clone git://git.shimmy1996.com/hugo.git
commit 4349216debc66642c5ef33ffdcbdfcf0a58a9a9b
parent 0fdea0c2c222bb3f21187d0ff34fbe92980ae851
Author: Noah Campbell <noahcampbell@gmail.com>
Date:   Sat, 31 Aug 2013 20:00:57 -0700

Small code cleanup

Diffstat:
Mhugolib/site.go | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hugolib/site.go b/hugolib/site.go
@@ -646,11 +646,9 @@ func (s *Site) Stats() {
 	}
 }
 
-func (s *Site) NewNode() Node {
-	var y Node
+func (s *Site) NewNode() (y Node) {
 	y.Data = make(map[string]interface{})
 	y.Site = s.Info
-
 	return y
 }