[Tile-serving] [osm2pgsql] Minor code fixes (#134)

jocelynj notifications at github.com
Mon Apr 21 12:14:32 UTC 2014


I've reviewed some bugs reported by coverity tools, and found some issues that I have fixed. This issues are quite minor in fact, but it is still better to clean code.

I've run "python tests/regression-test.py" without any failure on these commits.
You can merge this Pull Request by running:

  git pull https://github.com/jocelynj/osm2pgsql code-fix

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * Remove deadcode from binary_search_get() in binarysearcharray.c
  * Remove bz2 support from pbf file
  * Fix indentation in get_wkt() from build_geometry.cpp
  * Don't dereference result pointer with strcpy if NULL

-- File Changes --

    M binarysearcharray.c (1)
    M build_geometry.cpp (14)
    M parse-pbf.c (27)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/134
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140421/418fcde9/attachment.html>


More information about the Tile-serving mailing list