From: Edward Hervey Date: Sat, 28 Feb 2009 12:11:59 +0000 (+0100) Subject: rtspconnection: Fix warning about using unitialized value. X-Git-Tag: RELEASE-0.10.23~223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed013753c055931d2295400df7f7e7741dc1c94d;p=platform%2Fupstream%2Fgst-plugins-base.git rtspconnection: Fix warning about using unitialized value. --- diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index ac28d14..d45567c 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -277,7 +277,7 @@ gst_rtsp_connection_accept (gint sock, GstRTSPConnection ** conn) { int fd; unsigned int address_len; - GstRTSPConnection *newconn; + GstRTSPConnection *newconn = NULL; struct sockaddr_in address; GstRTSPUrl *url;