rtsp: fix compilation on windows.
authorLRN <lrn1986@gmail.com>
Sun, 8 Mar 2009 17:17:48 +0000 (18:17 +0100)
committerWim Taymans <wim@metal.(none)>
Sun, 8 Mar 2009 17:17:48 +0000 (18:17 +0100)
Remove unused variable when building for windows.
Fixes #574443.

gst-libs/gst/rtsp/gstrtspconnection.c

index 0cdc6c6..8535dcd 100644 (file)
@@ -740,9 +740,6 @@ gst_rtsp_connection_connect (GstRTSPConnection * conn, GTimeVal * timeout)
   const gchar *ip;
   guint16 port;
   GstRTSPUrl *url;
-#ifdef G_OS_WIN32
-  unsigned long flags = 1;
-#endif /* G_OS_WIN32 */
 
   g_return_val_if_fail (conn != NULL, GST_RTSP_EINVAL);
   g_return_val_if_fail (conn->url != NULL, GST_RTSP_EINVAL);