[Tile-serving] [osm2pgsql] Fix warnings when compiling tests, use -Werror with travis (#395)

Paul Norman notifications at github.com
Fri Jul 17 04:46:51 UTC 2015


>      
>      version = BZ2_bzlibVersion();
> +    if (version == 0)
> +      ; // fixes error with -Werror=unused-but-set-variable on g++

and the `;` has to be on the second line for clang to not emit a warning

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


More information about the Tile-serving mailing list