mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
mgcp_client: drop nunnecessary else statement
There is an elarly return statement, so there is no need for an else branch. Change-Id: I96d0d468ccab302f9add206164f4d5b1b768bb48
This commit is contained in:
@@ -1378,8 +1378,7 @@ struct msgb *mgcp_msg_gen(struct mgcp_client *mgcp, struct mgcp_msg *mgcp_msg)
|
||||
rc_sdp = add_sdp(msg, mgcp_msg, mgcp);
|
||||
if (rc_sdp == -2)
|
||||
return NULL;
|
||||
else
|
||||
rc += rc_sdp;
|
||||
rc += rc_sdp;
|
||||
}
|
||||
|
||||
if (rc != 0) {
|
||||
|
Reference in New Issue
Block a user