OSDN Git Service

Code cleanup: tools/opt/opt.cpp
authorLogan Chien <tzuhsiang.chien@gmail.com>
Sat, 1 Sep 2012 14:43:30 +0000 (14:43 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Sat, 1 Sep 2012 14:43:30 +0000 (14:43 +0000)
Remove unused local variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163061 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index 4ada7d1..7ecd25c 100644 (file)
@@ -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...