From 11118eabb9f3b33ce4ae11c4b1da2e34a51c7d35 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Mon, 14 Jan 2008 12:11:43 +0000 Subject: gst/: Initialise variables to work around (false) 'foo might be used uninitialized in this function' warnings by gcc-... Original commit message from CVS: * gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send): Initialise variables to work around (false) 'foo might be used uninitialized in this function' warnings by gcc-3.3.3 (#509298). --- gst/rtsp/gstrtspsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/rtsp/gstrtspsrc.c') diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 50ce4afe..2f02c361 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3215,10 +3215,10 @@ gst_rtspsrc_send (GstRTSPSrc * src, GstRTSPMessage * request, GstRTSPMessage * response, GstRTSPStatusCode * code) { GstRTSPStatusCode int_code = GST_RTSP_STS_OK; - GstRTSPResult res; + GstRTSPResult res = GST_RTSP_ERROR; gint count; gboolean retry; - GstRTSPMethod method; + GstRTSPMethod method = GST_RTSP_INVALID; count = 0; do { -- cgit