@@ -111,7 +111,7 @@ void output_pgsql_t::enqueue_ways(pending_queue_t &job_queue, osmid_t id,
111111 }
112112}
113113
114- int output_pgsql_t::pending_way (osmid_t id, int exists)
114+ void output_pgsql_t::pending_way (osmid_t id, int exists)
115115{
116116 // Try to fetch the way from the DB
117117 buffer.clear ();
@@ -136,12 +136,10 @@ int output_pgsql_t::pending_way(osmid_t id, int exists)
136136 auto nnodes = m_mid->nodes_get_list (&(way.nodes ()));
137137 if (nnodes > 1 ) {
138138 pgsql_out_way (way, &outtags, polygon, roads);
139- return 1 ;
139+ return ;
140140 }
141141 }
142142 }
143-
144- return 0 ;
145143}
146144
147145void output_pgsql_t::enqueue_relations (pending_queue_t &job_queue, osmid_t id,
@@ -184,7 +182,7 @@ void output_pgsql_t::enqueue_relations(pending_queue_t &job_queue, osmid_t id,
184182 }
185183}
186184
187- int output_pgsql_t::pending_relation (osmid_t id, int exists)
185+ void output_pgsql_t::pending_relation (osmid_t id, int exists)
188186{
189187 // Try to fetch the relation from the DB
190188 // Note that we cannot use the global buffer here because
@@ -198,10 +196,9 @@ int output_pgsql_t::pending_relation(osmid_t id, int exists)
198196 }
199197
200198 auto const &rel = rels_buffer.get <osmium::Relation>(0 );
201- return pgsql_process_relation (rel);
199+ pgsql_process_relation (rel);
200+ return ;
202201 }
203-
204- return 0 ;
205202}
206203
207204void output_pgsql_t::commit ()
0 commit comments