]> git.draconx.ca Git - upkg.git/commitdiff
music: Fix obvious use of uninitialized variable.
authorNick Bowler <nbowler@draconx.ca>
Thu, 3 May 2012 04:51:08 +0000 (00:51 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 4 May 2012 00:50:18 +0000 (20:50 -0400)
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;