diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-07-05 15:58:12 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-07-05 15:58:12 +0000 |
commit | 23191804e8cab4e60c82cd39f3a7d2ea152489a5 (patch) | |
tree | a722cc25c1c6216f3fbdd0e68eb7ab96f103f86b /lib/Transforms/Scalar | |
parent | 71804149a3a6f6c081b874869b27fafe7d3288ce (diff) | |
download | external_llvm-23191804e8cab4e60c82cd39f3a7d2ea152489a5.zip external_llvm-23191804e8cab4e60c82cd39f3a7d2ea152489a5.tar.gz external_llvm-23191804e8cab4e60c82cd39f3a7d2ea152489a5.tar.bz2 |
Remove a useless declarations (found by scan-build)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r-- | lib/Transforms/Scalar/CodeGenPrepare.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp index ec8491f..23561b9 100644 --- a/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -868,7 +868,6 @@ void ExtAddrMode::print(raw_ostream &OS) const { OS << (NeedPlus ? " + " : "") << Scale << "*"; WriteAsOperand(OS, ScaledReg, /*PrintType=*/false); - NeedPlus = true; } OS << ']'; |