diff --git a/coreapi/bellesip_sal/sal_impl.c b/coreapi/bellesip_sal/sal_impl.c index c2238216b..ee75f3f2a 100644 --- a/coreapi/bellesip_sal/sal_impl.c +++ b/coreapi/bellesip_sal/sal_impl.c @@ -38,9 +38,8 @@ void _belle_sip_log(belle_sip_log_level lev, const char *fmt, va_list args) { ortp_level=ORTP_MESSAGE; break; case BELLE_SIP_LOG_DEBUG: - ortp_level=ORTP_DEBUG; - break; default: + ortp_level=ORTP_DEBUG; break; } if (ortp_log_level_enabled(ortp_level)){ diff --git a/coreapi/bellesip_sal/sal_sdp.c b/coreapi/bellesip_sal/sal_sdp.c index 06a93d2e6..074ed25d8 100644 --- a/coreapi/bellesip_sal/sal_sdp.c +++ b/coreapi/bellesip_sal/sal_sdp.c @@ -29,7 +29,7 @@ belle_sdp_session_description_t * media_description_to_sdp(const SalMediaDescrip MSList* pt_it; PayloadType* pt; char buffer[1024]; - char* dir; + char* dir=NULL; if (strchr(desc->addr,':')!=NULL){ inet6=1;