]> git.sesse.net Git - vlc/commitdiff
Removed unused variables.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 8 Oct 2007 19:04:03 +0000 (19:04 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 8 Oct 2007 19:04:03 +0000 (19:04 +0000)
modules/demux/ty.c

index 77d90b429ce5d066e4083b2739a3bd9ddd001e2a..5ac2c5bb038ae8f6279dee1576ce7264c7d518d7 100644 (file)
@@ -163,8 +163,6 @@ static int TyOpen(vlc_object_t *p_this)
          U32_AT(&p_peek[8]) != CHUNK_SIZE )
     {
         /* doesn't look like a TY file... */
-        char *psz_ext = strrchr(p_demux->psz_path, '.');
-
         if( !p_demux->b_force && !demux2_IsPathExtension( p_demux, ".ty" ) )
             return VLC_EGENERIC;
         msg_Warn( p_demux, "this does not look like a TY file, "