mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[CDFS]
Fix uninitialized variable usage (why did neither MSVC nor GCC catch this?) svn path=/trunk/; revision=75581
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user