Remove extraneous nesting.

This commit is contained in:
Ray Miller 2020-04-17 17:23:38 +01:00
parent d1934a0e85
commit 66d4c6243a

View file

@ -19,9 +19,7 @@ type GPXSummarizer struct {
func NewGPXSummarizer(rt *rtreego.Rtree) (*GPXSummarizer, error) {
trans, err := osgb.NewOSTN15Transformer()
if err != nil {
if err != nil {
return nil, err
}
return nil, err
}
return &GPXSummarizer{rt: rt, trans: trans}, nil
}