[Tile-serving] [openstreetmap/osm2pgsql] Code cleanups (#585)

Sarah Hoffmann notifications at github.com
Thu Jun 2 07:35:05 UTC 2016


Indeed, if you can make all those malloc/free pairs disappear in `unique_ptr`, that would be really cool.

Other observation: alloca() with a constant should really just be a variable, e.g. char *buf = alloca(64) -> char buf[64];

---
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/585#issuecomment-223217452
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160602/9c538faf/attachment.html>


More information about the Tile-serving mailing list