Merge pull request #8518 from sreecha/mutrace_fix

Initialize wakeup_fd to keep GCC with optimization level happy.
pull/8626/merge
Sree Kuchibhotla 8 years ago committed by GitHub
commit d43b9f346e
  1. 2
      src/core/lib/iomgr/wakeup_fd_pipe.c

@ -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;

Loading…
Cancel
Save