tuxtxt: remove unused dmx variable

This commit is contained in:
Stefan Seyfried
2017-02-19 12:09:03 +01:00
committed by M. Liebmann
parent 418819e261
commit dfddc62d0c
2 changed files with 0 additions and 7 deletions

View File

@@ -36,7 +36,6 @@ int tuxtxt_init()
tuxtxt_cache.thread_starting = 0;
tuxtxt_cache.vtxtpid = -1;
tuxtxt_cache.thread_id = 0;
tuxtxt_cache.dmx = -1;
/* not sure if this is correct here... */
tuxtxt_cache.page = 0x100;
return 1;//tuxtxt_init_demuxer();
@@ -82,11 +81,6 @@ void tuxtxt_close()
printf ("libtuxtxt: cleaning up\n");
#endif
tuxtxt_stop();
#if 0
if (tuxtxt_cache.dmx != -1)
close(tuxtxt_cache.dmx);
#endif
tuxtxt_cache.dmx = -1;
tuxtxt_clear_cache();
tuxtxt_initialized=0;
}