Fixed build error for redefinition.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 8 Feb 2010 06:08:32 +0000 (06:08 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 8 Feb 2010 06:08:32 +0000 (06:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95532 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/example/mcc16/driver/Main.cpp

index 43d6c048f99614893e7790fe653f164f9bcde7e5..e66e2f9c67c6c34b4527458299ebb3817873fb03 100644 (file)
@@ -46,8 +46,6 @@ int main(int argc, char** argv) {
 
   // We are creating a temp dir in current dir, with the cached name.
   //  But before that remove if one already exists with that name..
-
-  llvm::sys::Path tempDir;
   tempDir = TempDirname;
   tempDir.eraseFromDisk(true);