Skip to content

Commit

Permalink
chore: remove unnecessary if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jun 6, 2024
1 parent d46f336 commit 6f61360
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/postgis/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ func populateDB(ctx context.Context, conn *pgx.Conn) error {
return err
}
defer tx.Rollback(ctx)
if err != nil {
return err
}
for _, waypoint := range []Waypoint{
{
Name: "London",
Expand Down

0 comments on commit 6f61360

Please sign in to comment.