]> granicus.if.org Git - clang/commitdiff
Fix an unused-variable error.
authorHaojian Wu <hokein@google.com>
Wed, 29 May 2019 18:36:54 +0000 (18:36 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 29 May 2019 18:36:54 +0000 (18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362005 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/Environment.cpp

index df2402ba017c6e9c9af5c9ea9ff9e5c904f41e00..3ebb66c6af10ce947d37150fabb1a978d757a54f 100644 (file)
@@ -248,6 +248,7 @@ void Environment::printJson(raw_ostream &Out, const ASTContext &Ctx,
       }
 
       const Stmt *S = I->first.getStmt();
+      (void)S;
       assert(S != nullptr && "Expected non-null Stmt");
 
       LastI = I;