Fix clang warnings.
Review URL: http://breakpad.appspot.com/298002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@823 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
3c59c247e2
commit
8f2b058398
@ -78,7 +78,7 @@ using google_breakpad::MinidumpGenerator;
|
||||
|
||||
namespace google_breakpad {
|
||||
|
||||
static BOOL EnsureDirectoryPathExists(NSString *dirPath);
|
||||
BOOL EnsureDirectoryPathExists(NSString *dirPath);
|
||||
|
||||
//=============================================================================
|
||||
class ConfigFile {
|
||||
|
@ -57,7 +57,7 @@
|
||||
namespace google_breakpad {
|
||||
|
||||
//=============================================================================
|
||||
static BOOL EnsureDirectoryPathExists(NSString *dirPath) {
|
||||
BOOL EnsureDirectoryPathExists(NSString *dirPath) {
|
||||
NSFileManager *mgr = [NSFileManager defaultManager];
|
||||
|
||||
// If we got a relative path, prepend the current directory
|
||||
|
@ -620,7 +620,7 @@ bool MinidumpGenerator::WriteContextX86(breakpad_thread_state_data_t state,
|
||||
AddReg(eflags);
|
||||
|
||||
AddReg(eip);
|
||||
#undef AddReg(a)
|
||||
#undef AddReg
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -666,7 +666,7 @@ bool MinidumpGenerator::WriteContextX86_64(
|
||||
AddReg(cs);
|
||||
AddReg(fs);
|
||||
AddReg(gs);
|
||||
#undef AddReg(a)
|
||||
#undef AddReg
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -139,12 +139,6 @@ class MachMsgPortDescriptor : public mach_msg_port_descriptor_t {
|
||||
return disposition;
|
||||
}
|
||||
|
||||
// We're just a simple wrapper for mach_msg_port_descriptor_t
|
||||
// and have the same memory layout
|
||||
operator mach_msg_port_descriptor_t&() {
|
||||
return *this;
|
||||
}
|
||||
|
||||
// For convenience
|
||||
operator mach_port_t() const {
|
||||
return GetMachPort();
|
||||
|
Loading…
Reference in New Issue
Block a user