Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2397)

Unified Diff: dbus/bus.cc

Issue 10241003: DBus: Remove 'return' from void methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus.cc
diff --git a/dbus/bus.cc b/dbus/bus.cc
index 6e9209bc2ae693cd8049797768effccf7a0bc2a6..9c74013330325198046f07d6a512051290ea966b 100644
--- a/dbus/bus.cc
+++ b/dbus/bus.cc
@@ -803,12 +803,12 @@ dbus_bool_t Bus::OnAddWatchThunk(DBusWatch* raw_watch, void* data) {
void Bus::OnRemoveWatchThunk(DBusWatch* raw_watch, void* data) {
Bus* self = static_cast<Bus*>(data);
- return self->OnRemoveWatch(raw_watch);
+ self->OnRemoveWatch(raw_watch);
}
void Bus::OnToggleWatchThunk(DBusWatch* raw_watch, void* data) {
Bus* self = static_cast<Bus*>(data);
- return self->OnToggleWatch(raw_watch);
+ self->OnToggleWatch(raw_watch);
}
dbus_bool_t Bus::OnAddTimeoutThunk(DBusTimeout* raw_timeout, void* data) {
@@ -818,19 +818,19 @@ dbus_bool_t Bus::OnAddTimeoutThunk(DBusTimeout* raw_timeout, void* data) {
void Bus::OnRemoveTimeoutThunk(DBusTimeout* raw_timeout, void* data) {
Bus* self = static_cast<Bus*>(data);
- return self->OnRemoveTimeout(raw_timeout);
+ self->OnRemoveTimeout(raw_timeout);
}
void Bus::OnToggleTimeoutThunk(DBusTimeout* raw_timeout, void* data) {
Bus* self = static_cast<Bus*>(data);
- return self->OnToggleTimeout(raw_timeout);
+ self->OnToggleTimeout(raw_timeout);
}
void Bus::OnDispatchStatusChangedThunk(DBusConnection* connection,
DBusDispatchStatus status,
void* data) {
Bus* self = static_cast<Bus*>(data);
- return self->OnDispatchStatusChanged(connection, status);
+ self->OnDispatchStatusChanged(connection, status);
}
} // namespace dbus
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698