[UDFS]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 3 Jun 2017 21:47:53 +0000 (21:47 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 3 Jun 2017 21:47:53 +0000 (21:47 +0000)
Attempt to fix MSVC build

CORE-4375

svn path=/trunk/; revision=74804

reactos/drivers/filesystems/udfs/env_spec.cpp
reactos/drivers/filesystems/udfs/fscntrl.cpp
reactos/drivers/filesystems/udfs/udf_info/mount.cpp

index aed3a06..3f86608 100644 (file)
@@ -307,7 +307,7 @@ UDFPhWriteSynchronous(
     KeQuerySystemTime((PLARGE_INTEGER)&IoEnterTime);
 #endif //MEASURE_IO_PERFORMANCE
 
-#if defined DBG || defined USE_PERF_PRINT
+#if defined UDF_DBG || defined USE_PERF_PRINT
     ULONG Lba = (ULONG)(Offset>>0xb);
 //    ASSERT(!(Lba & (32-1)));
     PerfPrint(("UDFPhWrite: Length: %x Lba: %lx\n",Length>>0xb,Lba));
index 8f5d21b..02dbd94 100644 (file)
@@ -835,7 +835,7 @@ try_exit: NOTHING;
             Irp->Tail.Overlay.CurrentStackLocation++;
 
             // Now call the appropriate file system driver with the request.
-            return IoCallDriver( filterDevExt->lowerFSDeviceObject, Irp );
+            RC = IoCallDriver( filterDevExt->lowerFSDeviceObject, Irp );
 
         }
 
index 7ad9d6a..28583a4 100644 (file)
@@ -2333,12 +2333,14 @@ UDFLoadImpUseVolDesc(
     int8*     Buf
     )
 {
+#ifdef UDF_DBG
     ImpUseVolDesc* iuvd = (ImpUseVolDesc*)Buf;
     ImpUseVolDescImpUse* iuvdiu = (ImpUseVolDescImpUse*)&(iuvd->impUse);
     UDFPrint(("UDF: Imp Use Vol Desc:\n"));
     UDFPrint((" volDescSeqNum = %x\n", iuvd->volDescSeqNum));
     UDFPrint(("UDF: Imp Use Vol Desc Imp Use:\n"));
     KdDump(iuvdiu, sizeof(ImpUseVolDescImpUse));
+#endif
     return STATUS_SUCCESS;
 } // UDFLoadImpUseVolDesc()