From: Benjamin Kramer Date: Thu, 21 Mar 2013 19:47:38 +0000 (+0000) Subject: Remove unused variable. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d0235e16ed6af39e0e97a74935692c9aa66026c;p=platform%2Fupstream%2Fllvm.git Remove unused variable. llvm-svn: 177657 --- diff --git a/clang/lib/Serialization/ModuleManager.cpp b/clang/lib/Serialization/ModuleManager.cpp index a9f4794..7384da5 100644 --- a/clang/lib/Serialization/ModuleManager.cpp +++ b/clang/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) {