Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 05c7df7

Browse files
committed
CGSCCPassManagerTest.cpp: Fix warnings. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307511 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e7b6244 commit 05c7df7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unittests/Analysis/CGSCCPassManagerTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,7 @@ TEST_F(CGSCCPassManagerTest, TestAnalysisInvalidationCGSCCUpdate) {
11691169
auto &NewC = updateCGAndAnalysisManagerForFunctionPass(
11701170
CG, C, H2N, AM, UR, /*DebugLogging*/ true);
11711171
assert(&NewC != &C && "Should get a new SCC due to update!");
1172+
(void)&NewC;
11721173

11731174
return PA;
11741175
}));
@@ -1214,6 +1215,7 @@ TEST_F(CGSCCPassManagerTest, TestAnalysisInvalidationCGSCCUpdate) {
12141215
auto &NewC = updateCGAndAnalysisManagerForFunctionPass(
12151216
CG, C, H2N, AM, UR, /*DebugLogging*/ true);
12161217
assert(&NewC != &C && "Should get a new SCC due to update!");
1218+
(void)&NewC;
12171219

12181220
return PA;
12191221
}));

0 commit comments

Comments
 (0)