Commit 7bc5ce45 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

(safely) suppress -Wextra about unused parameters


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1312 e5f2f494-b856-4b98-b285-d166d9295462
parent f755e4a8
......@@ -14,6 +14,8 @@
// $Id$
#include "config.h"
#include <iostream>
#include <fstream>
#include <sstream>
......@@ -90,8 +92,10 @@ UnitTestUtil::readWireData(const string& datastr,
}
::testing::AssertionResult
UnitTestUtil::matchWireData(const char* dataexp1, const char* lenexp1,
const char* dataexp2, const char* lenexp2,
UnitTestUtil::matchWireData(const char* dataexp1 UNUSED_PARAM,
const char* lenexp1 UNUSED_PARAM,
const char* dataexp2 UNUSED_PARAM,
const char* lenexp2 UNUSED_PARAM,
const void* data1, size_t len1,
const void* data2, size_t len2)
{
......@@ -118,7 +122,8 @@ UnitTestUtil::matchWireData(const char* dataexp1, const char* lenexp1,
}
::testing::AssertionResult
UnitTestUtil::matchName(const char* nameexp1, const char* nameexp2,
UnitTestUtil::matchName(const char* nameexp1 UNUSED_PARAM,
const char* nameexp2 UNUSED_PARAM,
const isc::dns::Name& name1,
const isc::dns::Name& name2)
{
......
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