]> git.draconx.ca Git - upkg.git/blobdiff - src/engine/music.gob
music: Fix obvious use of uninitialized variable.
[upkg.git] / src / engine / music.gob
index 879e0adbbf0c66f6cf8d61b516b6f48e59420bd3..3d1abdb19d0d444aa2a002969e6e730b81fa54f8 100644 (file)
@@ -109,7 +109,7 @@ class Engine:Music from U:Object (dynamic)
        {
                struct upkg_file *f = uo->pkg_file;
                Self *self = SELF(uo);
-               size_t rc, pos, buflen;
+               size_t rc, pos = 0, buflen;
                unsigned char buf[32];
                long size;