[llvm-commits] [llvm] r61368 - /llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp

Nick Lewycky nicholas at mxc.ca
Mon Dec 22 21:36:48 PST 2008


That's there to prevent us from emitting a warning about an unused 
variable 'x' in release builds. Please revert.

Nick

Zhongxing Xu wrote:
> Author: zhongxingxu
> Date: Mon Dec 22 23:30:44 2008
> New Revision: 61368
>
> URL: http://llvm.org/viewvc/llvm-project?rev=61368&view=rev
> Log:
> Remove dead code.
>
> Modified:
>     llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp
>
> Modified: llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp?rev=61368&r1=61367&r2=61368&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp (original)
> +++ llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp Mon Dec 22 23:30:44 2008
> @@ -85,7 +85,7 @@
>          
>        case bitc::END_BLOCK: {
>          bool x = Stream.ReadBlockEnd();
> -        assert(!x && "Error at block end."); x=x;
> +        assert(!x && "Error at block end.");
>          BlockStack.pop_back();
>          continue;
>        }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>   




More information about the llvm-commits mailing list