Remove unused variable found by GCC warning.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 14 Dec 2016 19:45:03 +0000 (19:45 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 14 Dec 2016 19:45:03 +0000 (19:45 +0000)
llvm-svn: 289698

clang/lib/Serialization/ASTReader.cpp

index f4b7392..656298b 100644 (file)
@@ -8185,7 +8185,7 @@ ASTReader::ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record,
           CXXCtorInitializer(Context, IndirectMember, MemberOrEllipsisLoc,
                              LParenLoc, Init, RParenLoc);
 
-    if (bool IsWritten = Record[Idx++]) {
+    if (/*IsWritten*/Record[Idx++]) {
       unsigned SourceOrder = Record[Idx++];
       BOMInit->setSourceOrder(SourceOrder);
     }