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

Paul Norman notifications at github.com
Thu Jul 16 23:20:27 UTC 2015


>          return set_sparse(id, ramNode(lon, lat));
> -    return 1;
> +    }
> +    // can this fall through to the end?
> +    throw std::logic_error((boost::format("Fell through in node_ram_cache::set with allocStrategy %1%") % allocStrategy).str());

the different command line options always set ALLOC_DENSE or ALLOC_SPARSE

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


More information about the Tile-serving mailing list