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

Sarah Hoffmann notifications at github.com
Sun Dec 8 14:24:45 UTC 2019


lonvia commented on this pull request.



> @@ -198,10 +196,9 @@ int output_pgsql_t::pending_relation(osmid_t id, int exists)
         }
 
         auto const &rel = rels_buffer.get<osmium::Relation>(0);
-        return pgsql_process_relation(rel);
+        pgsql_process_relation(rel);
+        return;

Any particular reason?

-- 
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#pullrequestreview-328611626
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191208/3a60dd4d/attachment.html>


More information about the Tile-serving mailing list