From: Tim-Philipp Müller Date: Sat, 26 Jan 2013 22:58:29 +0000 (+0000) Subject: rtpdtmfsrc: fix compiler warning X-Git-Tag: 1.19.3~507^2~14134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74d1f8a400416b1d3da4bdafeff21ab71a532d69;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c index 834ec480e4..2a0b4a3bb4 100644 --- a/gst/dtmf/gstrtpdtmfsrc.c +++ b/gst/dtmf/gstrtpdtmfsrc.c @@ -664,6 +664,8 @@ gst_dtmf_src_prepare_message (GstRTPDTMFSrc * dtmfsrc, break; case RTP_DTMF_EVENT_TYPE_PAUSE_TASK: return NULL; + default: + return NULL; } return gst_message_new_element (GST_OBJECT (dtmfsrc), s);