summaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2012-09-01 14:43:30 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2012-09-01 14:43:30 +0000
commit7b3d77e8ced150e7a77b25315355499340a91682 (patch)
treed8f142c1928b1583912e357d942d6bf759f9527c /tools/opt/opt.cpp
parente2ac55242179382ba86215206072ea0d9be4ff5d (diff)
downloadllvm-7b3d77e8ced150e7a77b25315355499340a91682.tar.gz
llvm-7b3d77e8ced150e7a77b25315355499340a91682.tar.bz2
llvm-7b3d77e8ced150e7a77b25315355499340a91682.tar.xz
Code cleanup: tools/opt/opt.cpp
Remove unused local variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 4ada7d1e76..7ecd25c6b7 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -513,10 +513,6 @@ int main(int argc, char **argv) {
return 1;
}
- // Allocate a full target machine description only if necessary.
- // FIXME: The choice of target should be controllable on the command line.
- std::auto_ptr<TargetMachine> target;
-
SMDiagnostic Err;
// Load the input module...