shithub: hugo

Download patch

ref: 4349216debc66642c5ef33ffdcbdfcf0a58a9a9b
parent: 0fdea0c2c222bb3f21187d0ff34fbe92980ae851
author: Noah Campbell <[email protected]>
date: Sat Aug 31 16:00:57 EDT 2013

Small code cleanup

--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -646,11 +646,9 @@
 	}
 }
 
-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
 }