diff --git a/thrust/testing/functional.cu b/thrust/testing/functional.cu index 1478868c06d..5e809110e8e 100644 --- a/thrust/testing/functional.cu +++ b/thrust/testing/functional.cu @@ -303,8 +303,6 @@ DECLARE_VECTOR_UNITTEST(TestMinimumFunctional); template THRUST_DISABLE_BROKEN_GCC_VECTORIZER void TestNot1() { - using T = typename Vector::value_type; - Vector input{1, 0, 1, 1, 0}; Vector output(5); diff --git a/thrust/testing/is_partitioned.cu b/thrust/testing/is_partitioned.cu index 581e78715b8..88aa9481aa1 100644 --- a/thrust/testing/is_partitioned.cu +++ b/thrust/testing/is_partitioned.cu @@ -16,8 +16,6 @@ struct is_even template void TestIsPartitionedSimple() { - using T = typename Vector::value_type; - Vector v{1, 1, 1, 0}; // empty partition