vss.c: Kill an unused variable.
authorAndre Noll <maan@systemlinux.org>
Mon, 22 Oct 2007 21:59:35 +0000 (23:59 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 22 Oct 2007 21:59:35 +0000 (23:59 +0200)
vss.c

diff --git a/vss.c b/vss.c
index 70b54f64b574c0724feed478a567459aecd1ee70..5415929bde788fffc9de6297d23bb1cde1f29ad6 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -624,14 +624,12 @@ int vss_get_chunk(long unsigned chunk_num, char **buf, size_t *len)
 void vss_send_chunk(void)
 {
        int i;
 void vss_send_chunk(void)
 {
        int i;
-       struct audio_format_handler *af;
        struct timeval now, due;
        char *buf;
        size_t len;
 
        if (mmd->audio_format < 0 || !map || !vss_playing())
                return;
        struct timeval now, due;
        char *buf;
        size_t len;
 
        if (mmd->audio_format < 0 || !map || !vss_playing())
                return;
-       af = &afl[mmd->audio_format];
        gettimeofday(&now, NULL);
        vss_next_chunk_time(&due);
        if (tv_diff(&due, &now, NULL) > 0)
        gettimeofday(&now, NULL);
        vss_next_chunk_time(&due);
        if (tv_diff(&due, &now, NULL) > 0)