mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 01:18:52 +08:00
Fix unused parameters and variables
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -41,7 +41,6 @@ int main()
|
||||
typedef int T;
|
||||
T a1[] = {1, 2, 3, 4, 5};
|
||||
const unsigned N1 = sizeof(a1)/sizeof(a1[0]);
|
||||
const unsigned N2 = 0;
|
||||
std::valarray<T> v1(a1, N1);
|
||||
std::valarray<T> v2;
|
||||
std::valarray<T> v1_save = v1;
|
||||
@@ -57,7 +56,6 @@ int main()
|
||||
{
|
||||
typedef int T;
|
||||
T a2[] = {6, 7, 8, 9, 10, 11, 12};
|
||||
const unsigned N1 = 0;
|
||||
const unsigned N2 = sizeof(a2)/sizeof(a2[0]);
|
||||
std::valarray<T> v1;
|
||||
std::valarray<T> v2(a2, N2);
|
||||
@@ -73,8 +71,6 @@ int main()
|
||||
}
|
||||
{
|
||||
typedef int T;
|
||||
const unsigned N1 = 0;
|
||||
const unsigned N2 = 0;
|
||||
std::valarray<T> v1;
|
||||
std::valarray<T> v2;
|
||||
std::valarray<T> v1_save = v1;
|
||||
|
Reference in New Issue
Block a user