Remove more names of unreferenced parameters. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier 2016-04-29 00:47:16 +00:00
parent b6e757ed1d
commit 138574cae9
2 changed files with 10 additions and 10 deletions

View File

@ -41,17 +41,17 @@ bool g1_called = false;
bool g2_called = false;
bool g3_called = false;
void f1(std::ios_base::event ev, std::ios_base& stream, int index)
void f1(std::ios_base::event, std::ios_base&, int)
{
f1_called = true;
}
void f2(std::ios_base::event ev, std::ios_base& stream, int index)
void f2(std::ios_base::event, std::ios_base&, int)
{
f2_called = true;
}
void g1(std::ios_base::event ev, std::ios_base& stream, int index)
void g1(std::ios_base::event ev, std::ios_base&, int index)
{
if (ev == std::ios_base::imbue_event)
{
@ -60,7 +60,7 @@ void g1(std::ios_base::event ev, std::ios_base& stream, int index)
}
}
void g2(std::ios_base::event ev, std::ios_base& stream, int index)
void g2(std::ios_base::event ev, std::ios_base&, int index)
{
if (ev == std::ios_base::imbue_event)
{
@ -69,7 +69,7 @@ void g2(std::ios_base::event ev, std::ios_base& stream, int index)
}
}
void g3(std::ios_base::event ev, std::ios_base& stream, int index)
void g3(std::ios_base::event ev, std::ios_base&, int index)
{
if (ev == std::ios_base::imbue_event)
{

View File

@ -41,31 +41,31 @@ bool g1_called = false;
bool g2_called = false;
bool g3_called = false;
void f1(std::ios_base::event ev, std::ios_base& stream, int index)
void f1(std::ios_base::event, std::ios_base&, int index)
{
assert(index == 4);
f1_called = true;
}
void f2(std::ios_base::event ev, std::ios_base& stream, int index)
void f2(std::ios_base::event, std::ios_base&, int index)
{
assert(index == 5);
f2_called = true;
}
void g1(std::ios_base::event ev, std::ios_base& stream, int index)
void g1(std::ios_base::event, std::ios_base&, int index)
{
assert(index == 7);
g1_called = true;
}
void g2(std::ios_base::event ev, std::ios_base& stream, int index)
void g2(std::ios_base::event, std::ios_base&, int index)
{
assert(index == 8);
g2_called = true;
}
void g3(std::ios_base::event ev, std::ios_base& stream, int index)
void g3(std::ios_base::event, std::ios_base&, int index)
{
assert(index == 9);
g3_called = true;