mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:52:56 +00:00
[EXT2FS]
- Fix warnings svn path=/trunk/; revision=69586
This commit is contained in:
parent
b11be05a7e
commit
b329beb092
4 changed files with 13 additions and 1 deletions
|
@ -88,7 +88,6 @@ add_library(ext2fs SHARED ${SOURCE} ext2fs.rc)
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_target_compile_flags(ext2fs "-Wno-pointer-sign -Wno-unused-function")
|
add_target_compile_flags(ext2fs "-Wno-pointer-sign -Wno-unused-function")
|
||||||
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
replace_compile_flags("-Werror" " ")
|
|
||||||
add_target_compile_flags(ext2fs "-Wno-unused-but-set-variable -Wno-unused-variable -Wno-missing-braces")
|
add_target_compile_flags(ext2fs "-Wno-unused-but-set-variable -Wno-unused-variable -Wno-missing-braces")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
|
@ -2030,7 +2030,11 @@ Ext2FastIoUnlockAll (
|
||||||
BOOLEAN NTAPI
|
BOOLEAN NTAPI
|
||||||
Ext2FastIoUnlockAllByKey (
|
Ext2FastIoUnlockAllByKey (
|
||||||
IN PFILE_OBJECT FileObject,
|
IN PFILE_OBJECT FileObject,
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
IN PVOID Process,
|
||||||
|
#else
|
||||||
IN PEPROCESS Process,
|
IN PEPROCESS Process,
|
||||||
|
#endif
|
||||||
IN ULONG Key,
|
IN ULONG Key,
|
||||||
OUT PIO_STATUS_BLOCK IoStatus,
|
OUT PIO_STATUS_BLOCK IoStatus,
|
||||||
IN PDEVICE_OBJECT DeviceObject
|
IN PDEVICE_OBJECT DeviceObject
|
||||||
|
|
|
@ -779,7 +779,11 @@ Ext2FastIoUnlockAll (
|
||||||
BOOLEAN NTAPI
|
BOOLEAN NTAPI
|
||||||
Ext2FastIoUnlockAllByKey (
|
Ext2FastIoUnlockAllByKey (
|
||||||
IN PFILE_OBJECT FileObject,
|
IN PFILE_OBJECT FileObject,
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
IN PVOID Process,
|
||||||
|
#else
|
||||||
IN PEPROCESS Process,
|
IN PEPROCESS Process,
|
||||||
|
#endif
|
||||||
IN ULONG Key,
|
IN ULONG Key,
|
||||||
OUT PIO_STATUS_BLOCK IoStatus,
|
OUT PIO_STATUS_BLOCK IoStatus,
|
||||||
IN PDEVICE_OBJECT DeviceObject
|
IN PDEVICE_OBJECT DeviceObject
|
||||||
|
|
|
@ -2077,7 +2077,12 @@ Ext2ParseRegistryVolumeParams(
|
||||||
k < ParamPattern[i].Length &&
|
k < ParamPattern[i].Length &&
|
||||||
Params->Buffer[j+k] != L';' &&
|
Params->Buffer[j+k] != L';' &&
|
||||||
Params->Buffer[j+k] != L',' ) {
|
Params->Buffer[j+k] != L',' ) {
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
ParamPattern[i].uValue[k] = Params->Buffer[j + k];
|
||||||
|
k++;
|
||||||
|
#else
|
||||||
ParamPattern[i].uValue[k] = Params->Buffer[j + k++];
|
ParamPattern[i].uValue[k] = Params->Buffer[j + k++];
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (k) {
|
if (k) {
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue