Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / drivers / filesystems / ntfs / finfo.c
index 3bc94cb..85c4371 100644 (file)
@@ -45,6 +45,8 @@ NtfsGetStandardInformation(PNTFS_FCB Fcb,
                            PFILE_STANDARD_INFORMATION StandardInfo,
                            PULONG BufferLength)
 {
+    UNREFERENCED_PARAMETER(DeviceObject);
+
     DPRINT("NtfsGetStandardInformation() called\n");
 
     if (*BufferLength < sizeof(FILE_STANDARD_INFORMATION))
@@ -75,6 +77,8 @@ NtfsGetPositionInformation(PFILE_OBJECT FileObject,
                            PFILE_POSITION_INFORMATION PositionInfo,
                            PULONG BufferLength)
 {
+    UNREFERENCED_PARAMETER(FileObject);
+
     DPRINT("NtfsGetPositionInformation() called\n");
 
     if (*BufferLength < sizeof(FILE_POSITION_INFORMATION))
@@ -117,6 +121,11 @@ NtfsGetBasicInformation(PFILE_OBJECT FileObject,
 
     CdfsFileFlagsToAttributes(Fcb,
                               &BasicInfo->FileAttributes);
+#else
+    UNREFERENCED_PARAMETER(FileObject);
+    UNREFERENCED_PARAMETER(Fcb);
+    UNREFERENCED_PARAMETER(DeviceObject);
+    UNREFERENCED_PARAMETER(BasicInfo);
 #endif
 
     *BufferLength -= sizeof(FILE_BASIC_INFORMATION);
@@ -138,6 +147,9 @@ NtfsGetNameInformation(PFILE_OBJECT FileObject,
 {
     ULONG NameLength;
 
+    UNREFERENCED_PARAMETER(FileObject);
+    UNREFERENCED_PARAMETER(DeviceObject);
+
     DPRINT("NtfsGetNameInformation() called\n");
 
     ASSERT(NameInfo != NULL);