[llvm-commits] Patch to remove two unused variable warnings

Chad Rosier mcrosier at apple.com
Mon Oct 17 11:51:00 PDT 2011


Committed revision 142223.  Thanks Joe.

On Oct 17, 2011, at 10:31 AM, Joe Abbey wrote:

> GCC 4.6 shows a couple warnings on llvm-x86_64-ubuntu:
> 
> http://lab.llvm.org:8011/builders/llvm-x86_64-ubuntu/builds/68/steps/compile/logs/warnings%20%283%29
>  ARMAsmParser.cpp:1979:11: warning: variable ‘ExprLoc’ set but not used [-Wunused-but-set-variable]
> ARMDisassembler.cpp:1241:12: warning: variable ‘idx_mode’ set but not used [-Wunused-but-set-variable]
> The attached patch addresses them.
> 
> It's possible that the code removed had some future purpose.
> 
> Cheers,
> 
> Joe Abbey
> Software Architect
> Arxan Technologies, Inc.
> 1305 Cumberland Ave, Ste 215
> West Lafayette, IN 47906
> jabbey at arxan.com
> www.arxan.com
> <ARM_UnusedWarnings.txt>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111017/30c00c35/attachment.html>


More information about the llvm-commits mailing list