rtpdtmfsrc: fix compiler warning

gstrtpdtmfsrc.c: In function 'gst_dtmf_src_prepare_message.isra.1':
gstrtpdtmfsrc.c:669:3: error: 's' may be used uninitialized in this function
This commit is contained in:
Tim-Philipp Müller 2013-01-26 22:58:29 +00:00
parent bbc8fda864
commit 74d1f8a400

View file

@ -664,6 +664,8 @@ gst_dtmf_src_prepare_message (GstRTPDTMFSrc * dtmfsrc,
break; break;
case RTP_DTMF_EVENT_TYPE_PAUSE_TASK: case RTP_DTMF_EVENT_TYPE_PAUSE_TASK:
return NULL; return NULL;
default:
return NULL;
} }
return gst_message_new_element (GST_OBJECT (dtmfsrc), s); return gst_message_new_element (GST_OBJECT (dtmfsrc), s);