Commit e362d1a7 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

more cleanup:

- removed obsolete comment about UNUSED_PARAM
- omitting more unused parameters (that didn't cause a warning simply because we specified -Wno-unused-parameter


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac409@3490 e5f2f494-b856-4b98-b285-d166d9295462
parent 88d0f234
......@@ -719,7 +719,7 @@ Element::fromWire(const std::string& s) {
}
ElementPtr
Element::fromWire(std::stringstream& in, int length) {
Element::fromWire(std::stringstream& in, int) {
//
// Check protocol version
//
......
......@@ -91,7 +91,7 @@ FakeSession::startRead(boost::function<void()>) {
}
void
FakeSession::establish(const char* socket_file) {
FakeSession::establish(const char*) {
}
bool
......
......@@ -63,7 +63,7 @@ public:
virtual int reply(isc::data::ConstElementPtr envelope,
isc::data::ConstElementPtr newmsg);
virtual bool hasQueuedMsgs() const;
virtual void setTimeout(size_t milliseconds) {}
virtual void setTimeout(size_t) {}
virtual size_t getTimeout() const { return (0); }
isc::data::ConstElementPtr getFirstMessage(std::string& group,
std::string& to) const;
......
......@@ -1247,13 +1247,6 @@ Nsec3Param::getHash(const Name& name) const {
return (encodeBase32Hex(vector<uint8_t>(digest, digest + SHA1_HASHSIZE)));
}
//
// The following methods are effectively empty, and their parameters are
// unused. To silence compilers that warn unused function parameters,
// we specify a (compiler dependent) special keyword when available.
// It's defined in config.h, and to avoid including this header file from
// installed files we define the methods here.
//
DataSrc::Result
DataSrc::init(isc::data::ConstElementPtr) {
return (NOT_IMPLEMENTED);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment