[llvm] r285064 - fix warning

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 05:28:26 PDT 2016


Author: rafael
Date: Tue Oct 25 07:28:26 2016
New Revision: 285064

URL: http://llvm.org/viewvc/llvm-project?rev=285064&view=rev
Log:
fix warning

Modified:
    llvm/trunk/lib/LTO/LTO.cpp

Modified: llvm/trunk/lib/LTO/LTO.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/LTO.cpp?rev=285064&r1=285063&r2=285064&view=diff
==============================================================================
--- llvm/trunk/lib/LTO/LTO.cpp (original)
+++ llvm/trunk/lib/LTO/LTO.cpp Tue Oct 25 07:28:26 2016
@@ -222,6 +222,7 @@ Expected<std::unique_ptr<InputFile>> Inp
     auto P =
         File->ComdatMap.insert(std::make_pair(&C.second, File->Comdats.size()));
     assert(P.second);
+    (void)P;
     File->Comdats.push_back(C.first());
   }
 




More information about the llvm-commits mailing list