Add RTC_UNUSED for call to write() in TaskQueue libevent dtor.

TBR=terelius@webrtc.org

Change-Id: I9ef648299754f6cab30c278d6a803dbc782a2292
Bug: webrtc:8834
Reviewed-on: https://webrtc-review.googlesource.com/47601
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21885}
This commit is contained in:
Tommi
2018-02-03 11:17:09 +01:00
committed by Commit Bot
parent 93a843944a
commit 79a5560e06

View File

@ -231,7 +231,7 @@ class TaskQueue::Impl::PostAndReplyTask : public QueuedTask {
// PostAndReplyTask(), the reply task may or may not actually run.
// In either case, it will be deleted.
char message = kRunReplyTask;
write(reply_pipe_, &message, sizeof(message));
RTC_UNUSED(write(reply_pipe_, &message, sizeof(message)));
}
private: