mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:13:05 +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? */
|
/* FIXME: should be done only for real cdroms? */
|
||||||
Offset -= 150;
|
Offset -= 150;
|
||||||
}
|
}
|
||||||
CdInfo->VolumeOffset = Offset;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DPRINT1("Allowing mount of CDFS volume on non-CD device\n");
|
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);
|
DPRINT("Offset of first track in last session %u\n", Offset);
|
||||||
|
|
||||||
CdInfo->JolietLevel = 0;
|
CdInfo->JolietLevel = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue