Browse Source

[OPENMP] Fix -Wunused-lambda-capture. NFC

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330284 91177308-0d34-0410-b5e6-96231b3b80d8
Fangrui Song 7 years ago
parent
commit
202f222f94
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Sema/SemaOpenMP.cpp

+ 1 - 0
lib/Sema/SemaOpenMP.cpp

@@ -11991,6 +11991,7 @@ static bool checkMapConflicts(
                "Map clause expression with no components!");
         assert(StackComponents.back().getAssociatedDeclaration() == VD &&
                "Map clause expression with unexpected base!");
+        (void)VD;
 
         // The whole expression in the stack.
         const Expr *RE = StackComponents.front().getAssociatedExpression();