Delete unused function SetSessionError.
https://webrtc-codereview.appspot.com/47589004/ remove the use. BUG=505316 Originally reviewed at https://codereview.webrtc.org/1296103002/ TBR=sergeyu@chromium.org Review URL: https://codereview.webrtc.org/1299703002 . Cr-Commit-Position: refs/heads/master@{#9719}
This commit is contained in:
parent
b6d4ec4185
commit
dbe5bd9ad5
@ -60,11 +60,6 @@ static const char kDtlsSrtpExporterLabel[] = "EXTRACTOR-dtls_srtp";
|
||||
|
||||
static const int kAgcMinus10db = -10;
|
||||
|
||||
static void SetSessionError(BaseSession* session, BaseSession::Error error,
|
||||
const std::string& error_desc) {
|
||||
session->SetError(error, error_desc);
|
||||
}
|
||||
|
||||
static void SafeSetError(const std::string& message, std::string* error_desc) {
|
||||
if (error_desc) {
|
||||
*error_desc = message;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user