mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
Revert "Initialize variables in ignore_unused_test to avoid a g++-11 warning"
This reverts commit 1a011cde569e4c9784d974be7c1cb21034c7401b.
This commit is contained in:
parent
1a011cde56
commit
507c182f4c
@ -15,23 +15,23 @@ BOOST_CXX14_CONSTEXPR int test_fun(int a)
|
||||
int main()
|
||||
{
|
||||
{
|
||||
int a = 0;
|
||||
int a;
|
||||
boost::ignore_unused(a);
|
||||
}
|
||||
{
|
||||
int a = 0, b = 0;
|
||||
int a, b;
|
||||
boost::ignore_unused(a, b);
|
||||
}
|
||||
{
|
||||
int a = 0, b = 0, c = 0;
|
||||
int a, b, c;
|
||||
boost::ignore_unused(a, b, c);
|
||||
}
|
||||
{
|
||||
int a = 0, b = 0, c = 0, d = 0;
|
||||
int a, b, c, d;
|
||||
boost::ignore_unused(a, b, c, d);
|
||||
}
|
||||
{
|
||||
int a = 0, b = 0, c = 0, d = 0, e = 0;
|
||||
int a, b, c, d, e;
|
||||
boost::ignore_unused(a, b, c, d, e);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user