Fix uninitialized variable usage (why did neither MSVC nor GCC catch this?)
svn path=/trunk/; revision=75581
/* FIXME: should be done only for real cdroms? */
Offset -= 150;
}
/* 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");
}
else
{
DPRINT1("Allowing mount of CDFS volume on non-CD device\n");
- CdInfo->VolumeOffset = 0;
+ CdInfo->VolumeOffset = Offset;
DPRINT("Offset of first track in last session %u\n", Offset);
CdInfo->JolietLevel = 0;
DPRINT("Offset of first track in last session %u\n", Offset);
CdInfo->JolietLevel = 0;