cue2discid: Fix possibly undefined variables
authorVille Skyttä <ville.skytta@iki.fi>
Tue, 9 Jun 2015 19:27:38 +0000 (22:27 +0300)
committerVille Skyttä <ville.skytta@iki.fi>
Tue, 9 Jun 2015 19:27:38 +0000 (22:27 +0300)
examples/cue2discid

index 754e5f1..81121dc 100755 (executable)
@@ -16,7 +16,8 @@ startTrackRegex = re.compile(r'INDEX 01 (?P<min>\d+):(?P<sec>\d\d):(?P<frame>\d\
 leadInRegex = re.compile(r'REM FLAC__lead-in (?P<sample>\d+)')
 leadOutRegex = re.compile(r'REM FLAC__lead-out 170 (?P<sample>\d+)')
 raw_framelist = list()
-
+leadInFrame = 0
+leadOutFrame_raw = 0
 numTracks = 0
 
 def cddb_sum(trackseconds):