Fix uninitialized variable usage (why did neither MSVC nor GCC catch this?)

svn path=/trunk/; revision=75581
This commit is contained in:
Colin Finck 2017-08-16 23:12:55 +00:00
parent 7462d87d28
commit 7607ced6c6

View file

@ -237,14 +237,14 @@ CdfsGetVolumeData(
/* FIXME: should be done only for real cdroms? */
Offset -= 150;
}
CdInfo->VolumeOffset = Offset;
}
else
{
DPRINT1("Allowing mount of CDFS volume on non-CD device\n");
CdInfo->VolumeOffset = 0;
Offset = 0;
}
CdInfo->VolumeOffset = Offset;
DPRINT("Offset of first track in last session %u\n", Offset);
CdInfo->JolietLevel = 0;