Silencing a -Wunused-variable warning; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Wed, 22 Apr 2015 15:25:05 +0000 (15:25 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 22 Apr 2015 15:25:05 +0000 (15:25 +0000)
llvm-svn: 235512

clang/lib/Serialization/ASTReader.cpp

index 1ea30f9..7d8ccbf 100644 (file)
@@ -1768,8 +1768,7 @@ void ASTReader::resolvePendingMacro(IdentifierInfo *II,
     }
 
     Record.clear();
-    switch (PreprocessorRecordTypes RecType =
-                (PreprocessorRecordTypes)Cursor.readRecord(Entry.ID, Record)) {
+    switch ((PreprocessorRecordTypes)Cursor.readRecord(Entry.ID, Record)) {
     case PP_MACRO_DIRECTIVE_HISTORY:
       break;