[Tile-serving] [openstreetmap/osm2pgsql] tagtransform-c.cpp warning (#789)
Paul Norman
notifications at github.com
Sat Sep 30 02:57:25 UTC 2017
As one of our goals is to have no warnings, this is a bug.
```
/home/pnorman/osm/osm2pgsql/tagtransform-c.cpp: In member function ‘virtual bool c_tagtransform_t::filter_rel_member_tags(const taglist_t&, const osmium::memory::Buffer&, const rolelist_t&, int*, int*, int*, int*, const export_list&, taglist_t&, bool)’:
/home/pnorman/osm/osm2pgsql/tagtransform-c.cpp:378:25: warning: ‘flags’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!(flags & FLAG_POLYGON)) {
~~~~~~~^~~~~~~~~~~~~~~
```
Produced with gcc 6.3.0
--
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/issues/789
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170929/c5b4a5a4/attachment.html>
More information about the Tile-serving
mailing list