r235512 - Silencing a -Wunused-variable warning; NFC.
Richard Smith
richard at metafoo.co.uk
Wed Apr 22 10:43:19 PDT 2015
Thanks!
On 22 Apr 2015 8:32 am, "Aaron Ballman" <aaron at aaronballman.com> wrote:
> Author: aaronballman
> Date: Wed Apr 22 10:25:05 2015
> New Revision: 235512
>
> URL: http://llvm.org/viewvc/llvm-project?rev=235512&view=rev
> Log:
> Silencing a -Wunused-variable warning; NFC.
>
> Modified:
> cfe/trunk/lib/Serialization/ASTReader.cpp
>
> Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=235512&r1=235511&r2=235512&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
> +++ cfe/trunk/lib/Serialization/ASTReader.cpp Wed Apr 22 10:25:05 2015
> @@ -1768,8 +1768,7 @@ void ASTReader::resolvePendingMacro(Iden
> }
>
> Record.clear();
> - switch (PreprocessorRecordTypes RecType =
> - (PreprocessorRecordTypes)Cursor.readRecord(Entry.ID,
> Record)) {
> + switch ((PreprocessorRecordTypes)Cursor.readRecord(Entry.ID, Record))
> {
> case PP_MACRO_DIRECTIVE_HISTORY:
> break;
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150422/c695942f/attachment.html>
More information about the cfe-commits
mailing list