[analyzer] Avoid unused variable warning in opt build
authorJacques Pienaar <jpienaar@google.com>
Fri, 12 Jun 2020 16:48:49 +0000 (09:48 -0700)
committerJacques Pienaar <jpienaar@google.com>
Fri, 12 Jun 2020 16:48:49 +0000 (09:48 -0700)
clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp

index 4a7e0d9..461d08f 100644 (file)
@@ -297,7 +297,9 @@ CheckerRegistry::CheckerRegistry(
              "A strong dependency mustn't have weak dependencies!");
       assert(WeakDepPair.second != DepPair.second &&
              "A strong dependency mustn't be a weak dependency as well!");
+      (void)WeakDepPair;
     }
+    (void)DepPair;
   }
 #endif