From 0beab2746464ff7e871b2ec9c9b7fd9e8bc53494 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 21 Mar 2013 19:47:38 +0000 Subject: Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177657 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Serialization/ModuleManager.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/Serialization/ModuleManager.cpp') diff --git a/lib/Serialization/ModuleManager.cpp b/lib/Serialization/ModuleManager.cpp index a9f4794e10..7384da5404 100644 --- a/lib/Serialization/ModuleManager.cpp +++ b/lib/Serialization/ModuleManager.cpp @@ -59,7 +59,6 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type, } // Check whether we already loaded this module, before - AddModuleResult Result = AlreadyLoaded; ModuleFile *&ModuleEntry = Modules[Entry]; bool NewModule = false; if (!ModuleEntry) { @@ -95,8 +94,6 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type, // Initialize the stream New->StreamFile.init((const unsigned char *)New->Buffer->getBufferStart(), (const unsigned char *)New->Buffer->getBufferEnd()); - - Result = NewlyLoaded; } if (ImportedBy) { -- cgit v1.2.3