mirror of
https://github.com/reactos/reactos.git
synced 2025-07-01 15:41:22 +00:00
[FASTFAT_NEW] Remove obsolete compiler workarounds
following upgrade to GCC 8.4 and MSVC 2015.
This commit is contained in:
parent
9611e88624
commit
1ceed5ad5a
7 changed files with 0 additions and 88 deletions
|
@ -573,11 +573,7 @@ Return Value:
|
||||||
|
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
PIO_STACK_LOCATION IrpSp;
|
PIO_STACK_LOCATION IrpSp;
|
||||||
|
|
||||||
PFILE_OBJECT FileObject;
|
PFILE_OBJECT FileObject;
|
||||||
|
@ -2624,11 +2620,7 @@ Arguments:
|
||||||
|
|
||||||
{
|
{
|
||||||
PDCB RootDcb;
|
PDCB RootDcb;
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// The following variables are for abnormal termination
|
// The following variables are for abnormal termination
|
||||||
|
@ -2814,11 +2806,7 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
PBCB DirentBcb = NULL;
|
PBCB DirentBcb = NULL;
|
||||||
PDIRENT Dirent;
|
PDIRENT Dirent;
|
||||||
|
|
||||||
|
@ -3261,11 +3249,7 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PBCB DirentBcb = NULL;
|
PBCB DirentBcb = NULL;
|
||||||
PDIRENT Dirent;
|
PDIRENT Dirent;
|
||||||
|
@ -3974,11 +3958,7 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// The following variables are for abnormal termination
|
// The following variables are for abnormal termination
|
||||||
|
@ -4222,11 +4202,7 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// The following variables are for abnormal termination
|
// The following variables are for abnormal termination
|
||||||
|
@ -4522,11 +4498,7 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ACCESS_MASK AddedAccess = 0;
|
ACCESS_MASK AddedAccess = 0;
|
||||||
|
|
||||||
|
@ -5711,11 +5683,7 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PFCB Fcb = NULL;
|
PFCB Fcb = NULL;
|
||||||
|
|
||||||
|
@ -6428,11 +6396,7 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
{
|
{
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PDIRENT Dirent;
|
PDIRENT Dirent;
|
||||||
PBCB DirentBcb;
|
PBCB DirentBcb;
|
||||||
|
@ -6445,11 +6409,7 @@ Return Value:
|
||||||
|
|
||||||
ULONG NotifyFilter;
|
ULONG NotifyFilter;
|
||||||
ULONG HeaderSize = 0;
|
ULONG HeaderSize = 0;
|
||||||
#ifndef __REACTOS__
|
|
||||||
LARGE_INTEGER AllocSize = {0};
|
LARGE_INTEGER AllocSize = {0};
|
||||||
#else
|
|
||||||
LARGE_INTEGER AllocSize = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// The following variables are for abnormal termination
|
// The following variables are for abnormal termination
|
||||||
|
|
|
@ -2633,18 +2633,10 @@ Return Value:
|
||||||
PDIRENT Dirent;
|
PDIRENT Dirent;
|
||||||
PBCB DirentBcb = NULL;
|
PBCB DirentBcb = NULL;
|
||||||
ULONG NotifyFilter = 0;
|
ULONG NotifyFilter = 0;
|
||||||
#ifndef __REACTOS__
|
|
||||||
FAT_TIME_STAMP CurrentFatTime = {0};
|
FAT_TIME_STAMP CurrentFatTime = {0};
|
||||||
#else
|
|
||||||
FAT_TIME_STAMP CurrentFatTime = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
LARGE_INTEGER CurrentTime;
|
LARGE_INTEGER CurrentTime;
|
||||||
#ifndef __REACTOS__
|
|
||||||
LARGE_INTEGER CurrentDay = {0};
|
LARGE_INTEGER CurrentDay = {0};
|
||||||
#else
|
|
||||||
LARGE_INTEGER CurrentDay = {{0}};
|
|
||||||
#endif
|
|
||||||
LARGE_INTEGER LastAccessDay;
|
LARGE_INTEGER LastAccessDay;
|
||||||
|
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
|
@ -1949,21 +1949,11 @@ Return Value:
|
||||||
PDIRENT Dirent;
|
PDIRENT Dirent;
|
||||||
PBCB DirentBcb;
|
PBCB DirentBcb;
|
||||||
|
|
||||||
#ifndef __REACTOS__
|
|
||||||
FAT_TIME_STAMP CreationTime = {0};
|
FAT_TIME_STAMP CreationTime = {0};
|
||||||
#else
|
|
||||||
FAT_TIME_STAMP CreationTime = {{0}};
|
|
||||||
#endif
|
|
||||||
UCHAR CreationMSec = 0;
|
UCHAR CreationMSec = 0;
|
||||||
#ifndef __REACTOS__
|
|
||||||
FAT_TIME_STAMP LastWriteTime = {0};
|
FAT_TIME_STAMP LastWriteTime = {0};
|
||||||
FAT_TIME_STAMP LastAccessTime = {0};
|
FAT_TIME_STAMP LastAccessTime = {0};
|
||||||
FAT_DATE LastAccessDate = {0};
|
FAT_DATE LastAccessDate = {0};
|
||||||
#else
|
|
||||||
FAT_TIME_STAMP LastWriteTime = {{0}};
|
|
||||||
FAT_TIME_STAMP LastAccessTime = {{0}};
|
|
||||||
FAT_DATE LastAccessDate = {0, 0, 0};
|
|
||||||
#endif
|
|
||||||
UCHAR Attributes;
|
UCHAR Attributes;
|
||||||
|
|
||||||
BOOLEAN ModifyCreation = FALSE;
|
BOOLEAN ModifyCreation = FALSE;
|
||||||
|
@ -1974,15 +1964,9 @@ Return Value:
|
||||||
BOOLEAN ModifiedAttributes = FALSE;
|
BOOLEAN ModifiedAttributes = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __REACTOS__
|
|
||||||
LARGE_INTEGER LargeCreationTime = {0};
|
LARGE_INTEGER LargeCreationTime = {0};
|
||||||
LARGE_INTEGER LargeLastWriteTime = {0};
|
LARGE_INTEGER LargeLastWriteTime = {0};
|
||||||
LARGE_INTEGER LargeLastAccessTime = {0};
|
LARGE_INTEGER LargeLastAccessTime = {0};
|
||||||
#else
|
|
||||||
LARGE_INTEGER LargeCreationTime = {{0}};
|
|
||||||
LARGE_INTEGER LargeLastWriteTime = {{0}};
|
|
||||||
LARGE_INTEGER LargeLastAccessTime = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ULONG NotifyFilter = 0;
|
ULONG NotifyFilter = 0;
|
||||||
|
|
||||||
|
|
|
@ -916,11 +916,7 @@ Return Value:
|
||||||
|
|
||||||
PLIST_ENTRY Links;
|
PLIST_ENTRY Links;
|
||||||
|
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
ULONG ChangeCount = 0;
|
ULONG ChangeCount = 0;
|
||||||
|
|
||||||
DISK_GEOMETRY Geometry;
|
DISK_GEOMETRY Geometry;
|
||||||
|
@ -1907,11 +1903,7 @@ Return Value:
|
||||||
BOOLEAN LabelFound;
|
BOOLEAN LabelFound;
|
||||||
|
|
||||||
ULONG ChangeCount = 0;
|
ULONG ChangeCount = 0;
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK Iosb = {0};
|
IO_STATUS_BLOCK Iosb = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK Iosb = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
|
|
|
@ -972,11 +972,7 @@ Return Value:
|
||||||
|
|
||||||
(FileObject->SectionObjectPointer->DataSectionObject != NULL)) {
|
(FileObject->SectionObjectPointer->DataSectionObject != NULL)) {
|
||||||
|
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK IoStatus = {0};
|
IO_STATUS_BLOCK IoStatus = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK IoStatus = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef REDUCE_SYNCHRONIZATION
|
#ifndef REDUCE_SYNCHRONIZATION
|
||||||
if (!FatAcquireExclusiveFcb( IrpContext, FcbOrDcb )) {
|
if (!FatAcquireExclusiveFcb( IrpContext, FcbOrDcb )) {
|
||||||
|
|
|
@ -1458,11 +1458,7 @@ Return Value:
|
||||||
|
|
||||||
if (FatData.ChicagoMode) {
|
if (FatData.ChicagoMode) {
|
||||||
|
|
||||||
#ifndef __REACTOS__
|
|
||||||
LARGE_INTEGER FatSystemJanOne1980 = {0};
|
LARGE_INTEGER FatSystemJanOne1980 = {0};
|
||||||
#else
|
|
||||||
LARGE_INTEGER FatSystemJanOne1980 = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// If either date is possibly zero, get the system
|
// If either date is possibly zero, get the system
|
||||||
|
@ -1796,11 +1792,7 @@ Return Value:
|
||||||
|
|
||||||
if (FatData.ChicagoMode) {
|
if (FatData.ChicagoMode) {
|
||||||
|
|
||||||
#ifndef __REACTOS__
|
|
||||||
LARGE_INTEGER FatSystemJanOne1980 = {0};
|
LARGE_INTEGER FatSystemJanOne1980 = {0};
|
||||||
#else
|
|
||||||
LARGE_INTEGER FatSystemJanOne1980 = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// If either date is possibly zero, get the system
|
// If either date is possibly zero, get the system
|
||||||
|
|
|
@ -1175,11 +1175,7 @@ Return Value:
|
||||||
if (NonCachedIo && !PagingIo &&
|
if (NonCachedIo && !PagingIo &&
|
||||||
(FileObject->SectionObjectPointer->DataSectionObject != NULL)) {
|
(FileObject->SectionObjectPointer->DataSectionObject != NULL)) {
|
||||||
|
|
||||||
#ifndef __REACTOS__
|
|
||||||
IO_STATUS_BLOCK IoStatus = {0};
|
IO_STATUS_BLOCK IoStatus = {0};
|
||||||
#else
|
|
||||||
IO_STATUS_BLOCK IoStatus = {{0}};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// We need the Fcb exclsuive to do the CcPurgeCache
|
// We need the Fcb exclsuive to do the CcPurgeCache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue