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

Unified Diff: util/mach/exc_server_variants.cc

Issue 799463003: MachMessageServer::Interface implementations: minor cleanups (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years 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 | « util/mach/child_port_server_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/exc_server_variants.cc
diff --git a/util/mach/exc_server_variants.cc b/util/mach/exc_server_variants.cc
index 99875a849c50bb86f81606db92d181e4d8d84249..c0526d4e452ae2a3f0eec3e4ee5da65cff896f91 100644
--- a/util/mach/exc_server_variants.cc
+++ b/util/mach/exc_server_variants.cc
@@ -476,10 +476,12 @@ bool ExcServer<Traits>::MachMessageServerFunction(
sizeof(out_reply->new_state[0]) * out_reply->new_stateCnt;
return true;
}
- }
- SetMIGReplyError(out_header, MIG_BAD_ID);
- return false;
+ default: {
+ SetMIGReplyError(out_header, MIG_BAD_ID);
+ return false;
+ }
+ }
}
//! \brief A server interface for the `exc` or `mach_exc` Mach subsystems,
« no previous file with comments | « util/mach/child_port_server_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698