# HG changeset patch # User uau # Date 1170719778 0 # Node ID be16314071fe5d354c4568d22d53640729705c51 # Parent 84f95595f31feea130196998df85dbf605ddfef7 Add missing type to declaration and remove unused variable diff -r 84f95595f31f -r be16314071fe mplayer.c --- a/mplayer.c Mon Feb 05 23:46:08 2007 +0000 +++ b/mplayer.c Mon Feb 05 23:56:18 2007 +0000 @@ -2979,8 +2979,7 @@ } #ifdef USE_ASS if (ass_enabled) { - static global_ass_track = NULL; - sh_sub_t *sh = (sh_sub_t *)d_dvdsub->sh; + static ass_track_t *global_ass_track = NULL; if (!global_ass_track) global_ass_track = ass_default_track(ass_library); ass_track = global_ass_track; vo_sub = NULL;