Initialize variable to avoid compiler warning.

This commit is contained in:
Wim Taymans 2008-10-23 12:14:55 +02:00
parent cd10a8c87e
commit 5e32c22828

View file

@ -110,6 +110,8 @@ gst_rtsp_session_get_media (GstRTSPSession *sess, GstRTSPMedia *media)
GstRTSPSessionMedia *result; GstRTSPSessionMedia *result;
GList *walk; GList *walk;
result = NULL;
for (walk = sess->medias; walk; walk = g_list_next (walk)) { for (walk = sess->medias; walk; walk = g_list_next (walk)) {
result = (GstRTSPSessionMedia *) walk->data; result = (GstRTSPSessionMedia *) walk->data;