[Lldb-commits] [lldb] r153943 - /lldb/trunk/source/Host/macosx/Host.mm
Bill Wendling
isanbard at gmail.com
Tue Apr 3 00:51:16 PDT 2012
Author: void
Date: Tue Apr 3 02:51:16 2012
New Revision: 153943
URL: http://llvm.org/viewvc/llvm-project?rev=153943&view=rev
Log:
Use the path to the header file. Use an integer instead of NULL. And get rid of a superfluous 'default' label.
Modified:
lldb/trunk/source/Host/macosx/Host.mm
Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=153943&r1=153942&r2=153943&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Tue Apr 3 02:51:16 2012
@@ -18,7 +18,7 @@
#if !defined(NO_XPC_SERVICES)
#define __XPC_PRIVATE_H__
#include <xpc/xpc.h>
-#include "LauncherXPCService.h"
+#include "launcherXPCService/LauncherXPCService.h"
#endif
#include <asl.h>
@@ -249,7 +249,7 @@
char pid_str[256];
::memset (pid_str, 0, sizeof(pid_str));
ConnectionStatus status;
- const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), NULL, status, NULL);
+ const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), 0, status, NULL);
if (pid_str_len > 0)
{
int pid = atoi (pid_str);
@@ -1824,7 +1824,6 @@
int asl_level;
switch (type)
{
- default:
case eSystemLogError:
asl_level = ASL_LEVEL_ERR;
break;
More information about the lldb-commits
mailing list