Skip to content

Commit 7e01a32

Browse files
authored
[clang][ASTImporter] Fix unused variable warning (NFC) (llvm#122686)
1 parent a3b3c26 commit 7e01a32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/unittests/AST/ASTImporterTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10182,7 +10182,7 @@ TEST_P(ASTImporterOptionSpecificTestBase, ImportIntoReopenedNamespaceNoMatch1) {
1018210182
struct X { int A; };
1018310183
}
1018410184
)";
10185-
Decl *ToTU = getToTuDecl(ToCode, Lang_CXX11);
10185+
getToTuDecl(ToCode, Lang_CXX11);
1018610186
const char *Code =
1018710187
R"(
1018810188
namespace a {
@@ -10205,7 +10205,7 @@ TEST_P(ASTImporterOptionSpecificTestBase, ImportIntoReopenedNamespaceNoMatch2) {
1020510205
namespace a {
1020610206
}
1020710207
)";
10208-
Decl *ToTU = getToTuDecl(ToCode, Lang_CXX11);
10208+
getToTuDecl(ToCode, Lang_CXX11);
1020910209
const char *Code =
1021010210
R"(
1021110211
namespace a {

0 commit comments

Comments
 (0)