]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aft.c
Fix use of uninitialized afhi->header_len.
[paraslash.git] / aft.c
diff --git a/aft.c b/aft.c
index 5f5548f03dc9e71989fddf41acb4cb16b568910c..51e36c8e7de190028e9b963c7fbd054d1aabd234 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -1722,8 +1722,6 @@ static int add_one_audio_file(const char *path, const void *private_data)
        struct osl_object map, obj = {.data = NULL}, query, result = {.data = NULL};
        HASH_TYPE hash[HASH_SIZE];
 
-       afhi.header_offset = 0;
-       afhi.header_len = 0;
        ret = guess_audio_format(path);
        if (ret < 0 && !(pad->flags & ADD_FLAG_ALL))
                goto out_free;