From: Amine Khaldi Date: Sun, 11 Sep 2011 00:44:13 +0000 (+0000) Subject: * Missed some assignments in debug.c. X-Git-Tag: backups/icu4ros-bringup@60647~313 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f904ba5cf97135481a000074c9b8abed2cf29464;ds=sidebyside * Missed some assignments in debug.c. * Add a dummy allow_warnings() for msvc build. svn path=/trunk/; revision=53682 --- diff --git a/reactos/cmake/msvc.cmake b/reactos/cmake/msvc.cmake index 142b2b3898f..8e30e8098c0 100644 --- a/reactos/cmake/msvc.cmake +++ b/reactos/cmake/msvc.cmake @@ -214,3 +214,6 @@ function(CreateBootSectorTarget2 _target_name _asm_file _binary_file _base_addre add_custom_target(${_target_name} ALL DEPENDS ${_binary_file}) endfunction() + +function(allow_warnings __module) +endfunction() diff --git a/reactos/drivers/bus/pcix/debug.c b/reactos/drivers/bus/pcix/debug.c index e433d470b98..05c0cc0f8ed 100644 --- a/reactos/drivers/bus/pcix/debug.c +++ b/reactos/drivers/bus/pcix/debug.c @@ -182,11 +182,11 @@ PciDebugIrpDispatchDisplay(IN PIO_STACK_LOCATION IoStackLocation, /* Choose the correct debug level based on which function this is */ if (IoStackLocation->MajorFunction == IRP_MJ_POWER) { - DebugLevel = 0x400; + //DebugLevel = 0x400; } else if (IoStackLocation->MajorFunction == IRP_MJ_PNP) { - DebugLevel = 0x100; + //DebugLevel = 0x100; } /* For an FDO, just dump the extension pointer and IRP string */