Title: [235904] trunk/Source/WebCore
- Revision
- 235904
- Author
- [email protected]
- Date
- 2018-09-11 11:22:17 -0700 (Tue, 11 Sep 2018)
Log Message
Unreviewed, fix some -Wreturn-type warnings
* Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
(WebCore::sourceFromNewReceiver):
* Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
(WebCore::toRTCRtpTransceiverDirection):
(WebCore::fromRTCRtpTransceiverDirection):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (235903 => 235904)
--- trunk/Source/WebCore/ChangeLog 2018-09-11 18:16:58 UTC (rev 235903)
+++ trunk/Source/WebCore/ChangeLog 2018-09-11 18:22:17 UTC (rev 235904)
@@ -1,3 +1,13 @@
+2018-09-11 Michael Catanzaro <[email protected]>
+
+ Unreviewed, fix some -Wreturn-type warnings
+
+ * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
+ (WebCore::sourceFromNewReceiver):
+ * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
+ (WebCore::toRTCRtpTransceiverDirection):
+ (WebCore::fromRTCRtpTransceiverDirection):
+
2018-09-11 Jiewen Tan <[email protected]>
Unreviewed, a speculative build fix for r235888.
Modified: trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp (235903 => 235904)
--- trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp 2018-09-11 18:16:58 UTC (rev 235903)
+++ trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp 2018-09-11 18:22:17 UTC (rev 235904)
@@ -419,6 +419,8 @@
return RealtimeIncomingVideoSource::create(WTFMove(videoTrack), fromStdString(rtcTrack->id()));
}
}
+
+ RELEASE_ASSERT_NOT_REACHED();
}
void LibWebRTCMediaEndpoint::newTransceiver(rtc::scoped_refptr<webrtc::RtpTransceiverInterface>&& rtcTransceiver)
Modified: trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp (235903 => 235904)
--- trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp 2018-09-11 18:16:58 UTC (rev 235903)
+++ trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp 2018-09-11 18:22:17 UTC (rev 235904)
@@ -197,6 +197,8 @@
case webrtc::RtpTransceiverDirection::kInactive:
return RTCRtpTransceiverDirection::Inactive;
};
+
+ RELEASE_ASSERT_NOT_REACHED();
}
webrtc::RtpTransceiverDirection fromRTCRtpTransceiverDirection(RTCRtpTransceiverDirection direction)
@@ -211,6 +213,8 @@
case RTCRtpTransceiverDirection::Inactive:
return webrtc::RtpTransceiverDirection::kInactive;
};
+
+ RELEASE_ASSERT_NOT_REACHED();
}
webrtc::RtpTransceiverInit fromRtpTransceiverInit(const RTCRtpTransceiverInit& init)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes