Small code cleanup

This commit is contained in:
Noah Campbell 2013-08-31 20:00:57 -07:00
parent 0fdea0c2c2
commit 4349216deb

View file

@ -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
}