summaryrefslogtreecommitdiffstats
path: root/base/message_pump_glib.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_pump_glib.cc')
-rw-r--r--base/message_pump_glib.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/base/message_pump_glib.cc b/base/message_pump_glib.cc
index 19a0eea..20fc8ea9 100644
--- a/base/message_pump_glib.cc
+++ b/base/message_pump_glib.cc
@@ -145,10 +145,7 @@ MessagePumpGlib::MessagePumpGlib()
wakeup_gpollfd_(new GPollFD) {
// Create our wakeup pipe, which is used to flag when work was scheduled.
int fds[2];
- int ret = pipe(fds);
- DCHECK_EQ(ret, 0);
- (void)ret; // Prevent warning in release mode.
-
+ CHECK_EQ(pipe(fds), 0);
wakeup_pipe_read_ = fds[0];
wakeup_pipe_write_ = fds[1];
wakeup_gpollfd_->fd = wakeup_pipe_read_;