From 2f90dcbf75fbafbefde8916c6012f0023a90b527 Mon Sep 17 00:00:00 2001 From: Jens Thiele Date: Tue, 28 Nov 2006 10:36:11 +0000 Subject: [PATCH] get rid of some unused warnings --- src/command.hxx | 4 ++-- src/container.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/command.hxx b/src/command.hxx index 9d14ff4..e3d07ca 100644 --- a/src/command.hxx +++ b/src/command.hxx @@ -34,7 +34,7 @@ class result private: friend class boost::serialization::access; template - void serialize(Archive & ar, const unsigned int version) + void serialize(Archive & /* ar */, const unsigned int /* version */) { } public: @@ -54,7 +54,7 @@ class command private: friend class boost::serialization::access; template - void serialize(Archive & ar, const unsigned int version) + void serialize(Archive & /* ar */, const unsigned int /* version */) { } public: diff --git a/src/container.cpp b/src/container.cpp index c573bbe..a3c9f31 100644 --- a/src/container.cpp +++ b/src/container.cpp @@ -33,7 +33,7 @@ namespace libt2n { template -void result_container::serialize(Archive & ar, const unsigned int version) +void result_container::serialize(Archive & ar, const unsigned int /* version */) { // When the class Archive corresponds to an output archive, the // & operator is defined similar to <<. Likewise, when the class Archive @@ -64,7 +64,7 @@ result* result_container::get_result(void) } template -void command_container::serialize(Archive & ar, const unsigned int version) +void command_container::serialize(Archive & ar, const unsigned int /* version */) { ar & BOOST_SERIALIZATION_NVP(cmd); } -- 1.7.1