[Lldb-commits] [lldb] r120788 - /lldb/trunk/source/Expression/IRForTarget.cpp

Sean Callanan scallanan at apple.com
Thu Dec 2 19:02:32 PST 2010


Author: spyffe
Date: Thu Dec  2 21:02:31 2010
New Revision: 120788

URL: http://llvm.org/viewvc/llvm-project?rev=120788&view=rev
Log:
Removed a compiler warning.

Modified:
    lldb/trunk/source/Expression/IRForTarget.cpp

Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=120788&r1=120787&r2=120788&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Thu Dec  2 21:02:31 2010
@@ -913,7 +913,7 @@
                                                         value_alignment))
             return false;
     }
-    else if (llvm::Function *function = dyn_cast<llvm::Function>(llvm_value_ptr))
+    else if (dyn_cast<llvm::Function>(llvm_value_ptr))
     {
         if (log)
             log->Printf("Function pointers aren't handled right now");





More information about the lldb-commits mailing list