[Tile-serving] [osm2pgsql] Cleanup based on the output of LLVM's static analyzer (#299)

Paul Norman notifications at github.com
Sat Feb 21 18:50:47 UTC 2015


>          int nodec;
>  
> +        assert(ndc > 0 && "no nodes to proccess");

Could we change the if check above to `if (places.has_data() && ndc > 0)`?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/299/files#r25124495
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150221/6f6a6045/attachment.html>


More information about the Tile-serving mailing list