Remove unused variable to silence compiler warning [NFC]
authorMikael Holmen <mikael.holmen@ericsson.com>
Thu, 14 Mar 2019 14:20:50 +0000 (14:20 +0000)
committerMikael Holmen <mikael.holmen@ericsson.com>
Thu, 14 Mar 2019 14:20:50 +0000 (14:20 +0000)
The only use of MI was removed in r356142.

llvm-svn: 356152

clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp

index 116eb6c..c03bab0 100644 (file)
@@ -892,8 +892,7 @@ static std::string getMacroNameAndPrintExpansion(
 
     // If this token is a macro that should be expanded inside the current
     // macro.
-    if (const MacroInfo *MI =
-                         getMacroInfoForLocation(PP, SM, II, T.getLocation())) {
+    if (getMacroInfoForLocation(PP, SM, II, T.getLocation())) {
       getMacroNameAndPrintExpansion(Printer, T.getLocation(), PP, Info.Args,
                                     AlreadyProcessedTokens);