Skip to content

Commit

Permalink
[flang] fix unused variable warning from D113659
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanPerier committed Nov 12, 2021
1 parent 6544d9a commit 1fda7ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flang/unittests/Runtime/Transformational.cpp
Expand Up @@ -96,8 +96,7 @@ TEST(Transformational, Shifts) {
// VECTOR 1 3 5 2 4 6 WITH non zero lower bound in a negative cshift.
auto vectorWithLowerBounds{MakeArray<TypeCategory::Integer, 4>(
std::vector<int>{6}, std::vector<std::int32_t>{1, 2, 3, 4, 5, 6})};
vector->GetDimension(0).SetLowerBound(2);
StaticDescriptor<1, true> vectorDesc2;
vectorWithLowerBounds->GetDimension(0).SetLowerBound(2);

RTNAME(CshiftVector)
(vectorResult, *vectorWithLowerBounds, -2, __FILE__, __LINE__);
Expand Down

0 comments on commit 1fda7ba

Please sign in to comment.