]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356152 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/PlistDiagnostics.cpp

index 116eb6cd8e71cf3c71dd501e3b271a178a8212a7..c03bab0fe1623ccf12168c8d565b5c72368cbee8 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);