[Lldb-commits] [lldb] r118710 - in /lldb/trunk/source: Commands/CommandObjectFrame.cpp Host/macosx/Host.mm Plugins/Process/Utility/RegisterContextLLDB.h

Benjamin Kramer benny.kra at googlemail.com
Wed Nov 10 12:16:47 PST 2010


Author: d0k
Date: Wed Nov 10 14:16:47 2010
New Revision: 118710

URL: http://llvm.org/viewvc/llvm-project?rev=118710&view=rev
Log:
Silence a bunch of clang warnings.

Modified:
    lldb/trunk/source/Commands/CommandObjectFrame.cpp
    lldb/trunk/source/Host/macosx/Host.mm
    lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h

Modified: lldb/trunk/source/Commands/CommandObjectFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectFrame.cpp?rev=118710&r1=118709&r2=118710&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectFrame.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectFrame.cpp Wed Nov 10 14:16:47 2010
@@ -124,7 +124,7 @@
                 break;
 
             default:
-                ("Invalid short option character '%c'.\n", short_option);
+                error.SetErrorStringWithFormat ("Invalid short option character '%c'.\n", short_option);
                 break;
             }
 

Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=118710&r1=118709&r2=118710&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Wed Nov 10 14:16:47 2010
@@ -142,7 +142,7 @@
     FSRef app_fsref;
     CFCString app_cfstr (app_path, kCFStringEncodingUTF8);
     
-    OSStatus error = ::FSPathMakeRef ((const UInt8 *)app_path, &app_fsref, false);
+    OSStatus error = ::FSPathMakeRef ((const UInt8 *)app_path, &app_fsref, NULL);
     
     // If we found the app, then store away the name so we don't have to re-look it up.
     if (error != noErr)

Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h?rev=118710&r1=118709&r2=118710&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h Wed Nov 10 14:16:47 2010
@@ -76,7 +76,7 @@
 
 private:
 
-    typedef enum FrameType
+    enum FrameType
     {
         eNormalFrame,
         eSigtrampFrame,





More information about the lldb-commits mailing list