aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-dis
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-06-15 19:28:20 +0000
committerBill Wendling <isanbard@gmail.com>2012-06-15 19:28:20 +0000
commite68470a1e44ae558cb13b99c28519e3c1f399231 (patch)
treeff8b061fd255face2b1f2135f5c88c26c8508e7d /tools/llvm-dis
parentcbf73908f1d4cc1cb7104bfd451af30c177cb7a5 (diff)
downloadexternal_llvm-e68470a1e44ae558cb13b99c28519e3c1f399231.zip
external_llvm-e68470a1e44ae558cb13b99c28519e3c1f399231.tar.gz
external_llvm-e68470a1e44ae558cb13b99c28519e3c1f399231.tar.bz2
Remove assignments which aren't used afterwards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-dis')
-rw-r--r--tools/llvm-dis/llvm-dis.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp
index 6450ea6..29af751 100644
--- a/tools/llvm-dis/llvm-dis.cpp
+++ b/tools/llvm-dis/llvm-dis.cpp
@@ -93,7 +93,6 @@ public:
DIVariable Var(DDI->getVariable());
if (!Padded) {
OS.PadToColumn(50);
- Padded = true;
OS << ";";
}
OS << " [debug variable = " << Var.getName() << "]";
@@ -102,7 +101,6 @@ public:
DIVariable Var(DVI->getVariable());
if (!Padded) {
OS.PadToColumn(50);
- Padded = true;
OS << ";";
}
OS << " [debug variable = " << Var.getName() << "]";