summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-04-30 00:30:48 +0000
committerDale Johannesen <dalej@apple.com>2007-04-30 00:30:48 +0000
commit71577f38487a368bff52a49722ed3f5b410ac719 (patch)
treecf42109a1fe81f25067e7859545b6514f59da1af /llvm/lib
parent8d4ff90680b433cca653e03e16be1274ae92554e (diff)
downloadbcm5719-llvm-71577f38487a368bff52a49722ed3f5b410ac719.tar.gz
bcm5719-llvm-71577f38487a368bff52a49722ed3f5b410ac719.zip
remove unused variable
llvm-svn: 36585
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index b4b4da1826c..5fa3ced52ad 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -112,7 +112,6 @@ unsigned ARMTargetAsmInfo::getInlineAsmLength(const char *Str) const {
atInsnStart = false;
if (isThumb) {
// BL and BLX <non-reg> are 4 bytes, all others 2.
- const char*p = Str;
if ((*Str=='b' || *Str=='B') &&
(*(Str+1)=='l' || *(Str+1)=='L')) {
if (*(Str+2)=='x' || *(Str+2)=='X') {
OpenPOWER on IntegriCloud