Remove extraneous nesting.
This commit is contained in:
parent
d1934a0e85
commit
66d4c6243a
1 changed files with 1 additions and 3 deletions
|
@ -19,9 +19,7 @@ type GPXSummarizer struct {
|
||||||
func NewGPXSummarizer(rt *rtreego.Rtree) (*GPXSummarizer, error) {
|
func NewGPXSummarizer(rt *rtreego.Rtree) (*GPXSummarizer, error) {
|
||||||
trans, err := osgb.NewOSTN15Transformer()
|
trans, err := osgb.NewOSTN15Transformer()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err != nil {
|
return nil, err
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return &GPXSummarizer{rt: rt, trans: trans}, nil
|
return &GPXSummarizer{rt: rt, trans: trans}, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue