projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc8fda
)
rtpdtmfsrc: fix compiler warning
author
Tim-Philipp Müller
<tim@centricular.net>
Sat, 26 Jan 2013 22:58:29 +0000
(22:58 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 26 Jan 2013 22:58:29 +0000
(22:58 +0000)
gstrtpdtmfsrc.c: In function 'gst_dtmf_src_prepare_message.isra.1':
gstrtpdtmfsrc.c:669:3: error: 's' may be used uninitialized in this function
gst/dtmf/gstrtpdtmfsrc.c
patch
|
blob
|
history
diff --git
a/gst/dtmf/gstrtpdtmfsrc.c
b/gst/dtmf/gstrtpdtmfsrc.c
index 834ec480e4764651083385d01b189b82588025f5..2a0b4a3bb454720c6c89b0ef10d236e97a723c18 100644
(file)
--- 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);