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