breakpad: Remove semicolons, mac edition.
Bug: chromium:926235
Change-Id: I473a7727c1831717b92a582c50d98256ea41d854
Reviewed-on: https://chromium-review.googlesource.com/c/1482716
Reviewed-by: Mark Mentovai <mark@chromium.org>
diff --git a/src/client/mac/Framework/Breakpad.mm b/src/client/mac/Framework/Breakpad.mm
index 1d2e519..b214054 100644
--- a/src/client/mac/Framework/Breakpad.mm
+++ b/src/client/mac/Framework/Breakpad.mm
@@ -117,7 +117,7 @@
// Then unlock the mutex
__attribute__((unused)) int rv = pthread_mutex_unlock(mutex_);
assert(rv == 0);
- };
+ }
private:
ProtectedMemoryLocker();
diff --git a/src/client/mac/Framework/OnDemandServer.h b/src/client/mac/Framework/OnDemandServer.h
index b8aabbe..d4db5d3 100644
--- a/src/client/mac/Framework/OnDemandServer.h
+++ b/src/client/mac/Framework/OnDemandServer.h
@@ -127,7 +127,7 @@
// This is the port we need to send a mach message to after calling
// LaunchOnDemand(). Sending a message causing an immediate launch
// of the server
- mach_port_t GetServicePort() { return service_port_; };
+ mach_port_t GetServicePort() { return service_port_; }
private:
// Disallow copy constructor
diff --git a/src/client/mac/Framework/OnDemandServer.mm b/src/client/mac/Framework/OnDemandServer.mm
index dbe601b..a2ffa43 100644
--- a/src/client/mac/Framework/OnDemandServer.mm
+++ b/src/client/mac/Framework/OnDemandServer.mm
@@ -71,7 +71,7 @@
delete server;
return NULL;
-};
+}
//==============================================================================
kern_return_t OnDemandServer::Initialize(const char *server_command,
diff --git a/src/client/mac/crash_generation/ConfigFile.h b/src/client/mac/crash_generation/ConfigFile.h
index 5662e8b..f2da7c2 100644
--- a/src/client/mac/crash_generation/ConfigFile.h
+++ b/src/client/mac/crash_generation/ConfigFile.h
@@ -44,10 +44,10 @@
config_file_ = -1;
config_file_path_[0] = 0;
has_created_file_ = false;
- };
+ }
~ConfigFile() {
- };
+ }
void WriteFile(const char* directory,
const SimpleStringDictionary *configurationParameters,
diff --git a/src/client/mac/crash_generation/Inspector.h b/src/client/mac/crash_generation/Inspector.h
index 6712355..7f923ed 100644
--- a/src/client/mac/crash_generation/Inspector.h
+++ b/src/client/mac/crash_generation/Inspector.h
@@ -98,7 +98,7 @@
(MinidumpGenerator::UniqueNameInDirectory(dump_path, &next_minidump_id));
strlcpy(minidump_id_, next_minidump_id.c_str(), sizeof(minidump_id_));
- };
+ }
const char *GetPath() { return minidump_dir_path_; }
const char *GetID() { return minidump_id_; }
@@ -111,7 +111,7 @@
//=============================================================================
class Inspector {
public:
- Inspector() {};
+ Inspector() {}
// given a bootstrap service name, receives mach messages
// from a crashed process, then inspects it, creates a minidump file
diff --git a/src/common/mac/MachIPC.h b/src/common/mac/MachIPC.h
index 8df9165..71419be 100644
--- a/src/common/mac/MachIPC.h
+++ b/src/common/mac/MachIPC.h
@@ -236,7 +236,7 @@
//==============================================================================
class MachReceiveMessage : public MachMessage {
public:
- MachReceiveMessage() : MachMessage() {};
+ MachReceiveMessage() : MachMessage() {}
};
//==============================================================================