Skip to content
Snippets Groups Projects
Commit d43b9f34 authored by Sree Kuchibhotla's avatar Sree Kuchibhotla Committed by GitHub
Browse files

Merge pull request #8518 from sreecha/mutrace_fix

Initialize wakeup_fd to keep GCC with optimization level happy.
parents 3b51f0b4 b9720896
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,8 @@ static void pipe_destroy(grpc_wakeup_fd* fd_info) {
static int pipe_check_availability(void) {
grpc_wakeup_fd fd;
fd.read_fd = fd.write_fd = -1;
if (pipe_init(&fd) == GRPC_ERROR_NONE) {
pipe_destroy(&fd);
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment