Bug 1854881 - Fix non-unified build error in ipc/glue/ProtocolUtils.cpp. r=jstutte,andi

ipc/glue/ProtocolUtils.cpp:84:20: error: 'return' will never be executed [-Werror,-Wunreachable-code-return]
  return IPCResult(false);

This error is a regression from bug 1778860.

Differential Revision: https://phabricator.services.mozilla.com/D189082
This commit is contained in:
Chris Peterson 2023-09-26 00:41:29 +00:00
parent b11b9075c4
commit 221ae0ef66

View File

@ -79,9 +79,9 @@ IPCResult IPCResult::FailImpl(NotNull<IProtocol*> actor, const char* where,
// We already leak the same information potentially on child process failures
// even in release, and here we are only in DEBUG.
MOZ_CRASH_UNSAFE(crashMsg.get());
#endif
#else
return IPCResult(false);
#endif
}
void AnnotateSystemError() {