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

Joe Abbey jabbey at arxan.com
Mon Oct 17 10:31:08 PDT 2011


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<mailto:jabbey at arxan.com>
www.arxan.com<http://www.arxan.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111017/6308468e/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ARM_UnusedWarnings.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111017/6308468e/attachment.txt>


More information about the llvm-commits mailing list