From 4349216debc66642c5ef33ffdcbdfcf0a58a9a9b Mon Sep 17 00:00:00 2001 From: Noah Campbell Date: Sat, 31 Aug 2013 20:00:57 -0700 Subject: [PATCH] Small code cleanup --- hugolib/site.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hugolib/site.go b/hugolib/site.go index 73862a383..94e9b50dc 100644 --- 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 }