[llvm-commits] [PATCH] eliminate warning from llvm-gcc

Bob Wilson bob.wilson at apple.com
Fri Aug 28 21:09:16 PDT 2009

How about just putting ATTRIBUTE_UNUSED on the declaration of  
"level"?  That is the usual solution.  (It doesn't matter that it may  
actually be used when TARGET_MACHO is defined.)

On Aug 28, 2009, at 5:46 PM, Sandeep Patel wrote:

> The attached eliminates a warning in non-Darwin builds of llvm-gcc.
> OK to commit?
> deep
> <deep-gcc-level- 
> warning.diff>_______________________________________________
> 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