mirror of
https://github.com/reactos/reactos.git
synced 2025-05-04 18:31:40 +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:
parent
7462d87d28
commit
7607ced6c6
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue