[osmium-tool] 84/97: Make it compile with very strict warnings.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Jul 21 20:15:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to tag v1.0.0
in repository osmium-tool.

commit 44acba1f2599cc26b2a103ff72f0978a4c0d3bc3
Author: Jochen Topf <jochen at topf.org>
Date:   Fri Jan 30 16:58:49 2015 +0100

    Make it compile with very strict warnings.
---
 src/command_fileinfo.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/command_fileinfo.cpp b/src/command_fileinfo.cpp
index eea24fa..bd5d466 100644
--- a/src/command_fileinfo.cpp
+++ b/src/command_fileinfo.cpp
@@ -111,9 +111,11 @@ struct InfoHandler : public osmium::handler::Handler {
     osmium::item_type last_type = osmium::item_type::undefined;
     osmium::object_id_type last_id = 0;
 
-    void changeset(const osmium::Changeset& changeset) {
 #ifdef OSMIUM_WITH_CRYPTOPP
+    void changeset(const osmium::Changeset& changeset) {
         hash.Update(changeset.data(), changeset.byte_size());
+#else
+    void changeset(const osmium::Changeset& /* changeset */) {
 #endif
         ++changesets;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git



More information about the Pkg-grass-devel mailing list