Commit d060f4bd authored by Simon Morlat's avatar Simon Morlat
Browse files

fix warning

parent ccb890ad
...@@ -825,7 +825,7 @@ int sdp_to_media_description ( belle_sdp_session_description_t *session_desc, S ...@@ -825,7 +825,7 @@ int sdp_to_media_description ( belle_sdp_session_description_t *session_desc, S
/*DTLS attributes can be defined at session level.*/ /*DTLS attributes can be defined at session level.*/
value=belle_sdp_session_description_get_attribute_value(session_desc,"setup"); value=belle_sdp_session_description_get_attribute_value(session_desc,"setup");
if (value){ if (value){
SalDtlsRole session_role; SalDtlsRole session_role=SalDtlsRoleInvalid;
if (strncmp(value, "actpass", 7) == 0) { if (strncmp(value, "actpass", 7) == 0) {
session_role = SalDtlsRoleUnset; session_role = SalDtlsRoleUnset;
} else if (strncmp(value, "active", 6) == 0) { } else if (strncmp(value, "active", 6) == 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment