Fix -Wextra-semi warnings.

Starting from https://chromium-review.googlesource.com/c/1485012,
-Wextra-semi is enabled and WebRTC has some violations to fix.

This is a follow-up of https://webrtc-review.googlesource.com/c/123560.

Bug: webrtc:10355
Change-Id: I012b7497fc8991037fd77aa98f1579c22e08206f
Reviewed-on: https://webrtc-review.googlesource.com/c/124126
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26831}
This commit is contained in:
Mirko Bonadei
2019-02-25 09:12:02 +01:00
committed by Commit Bot
parent 3812fa949a
commit c4dd730765
18 changed files with 74 additions and 74 deletions

View File

@ -23,7 +23,7 @@ namespace {
class NullReceiver : public EmulatedNetworkReceiverInterface {
public:
void OnPacketReceived(EmulatedIpPacket packet) override{};
void OnPacketReceived(EmulatedIpPacket packet) override {}
};
class ActionReceiver : public EmulatedNetworkReceiverInterface {
@ -36,7 +36,7 @@ class ActionReceiver : public EmulatedNetworkReceiverInterface {
RTC_DCHECK(port_);
action_();
endpoint_->UnbindReceiver(port_.value());
};
}
// We can't set port in constructor, because port will be provided by
// endpoint, when this receiver will be binded to that endpoint.