[Tile-serving] [openstreetmap/osm2pgsql] Make some functions return void instead of int (#1021)

Jochen Topf notifications at github.com
Sun Dec 8 08:55:28 UTC 2019


This is the second batch of changes after #1020 switching the return type of some functions from int to void where the result is never used.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1021

-- Commit Summary --

  * Switch functions in outputs vom int to void return types.
  * Switch pending_ways/relations from int to void return type
  * Switch start() function from int to void return type
  * Switch more functions from int to void return type
  * Fix includes

-- File Changes --

    M src/osmdata.cpp (4)
    M src/osmdata.hpp (1)
    M src/output-gazetteer.cpp (26)
    M src/output-gazetteer.hpp (52)
    M src/output-multi.cpp (77)
    M src/output-multi.hpp (32)
    M src/output-null.cpp (37)
    M src/output-null.hpp (38)
    M src/output-pgsql.cpp (74)
    M src/output-pgsql.hpp (30)
    M src/output.hpp (24)
    M tests/test-parse-osmium.cpp (43)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1021.patch
https://github.com/openstreetmap/osm2pgsql/pull/1021.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191208/be380cf9/attachment.html>


More information about the Tile-serving mailing list