* Missed some assignments in debug.c.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 11 Sep 2011 00:44:13 +0000 (00:44 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 11 Sep 2011 00:44:13 +0000 (00:44 +0000)
* Add a dummy allow_warnings() for msvc build.

svn path=/trunk/; revision=53682

reactos/cmake/msvc.cmake
reactos/drivers/bus/pcix/debug.c

index 142b2b3..8e30e80 100644 (file)
@@ -214,3 +214,6 @@ function(CreateBootSectorTarget2 _target_name _asm_file _binary_file _base_addre
 
     add_custom_target(${_target_name} ALL DEPENDS ${_binary_file})
 endfunction()
 
     add_custom_target(${_target_name} ALL DEPENDS ${_binary_file})
 endfunction()
+
+function(allow_warnings __module)
+endfunction()
index e433d47..05c0cc0 100644 (file)
@@ -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)
         {
         /* 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)
         {
         }
         else if (IoStackLocation->MajorFunction == IRP_MJ_PNP)
         {
-            DebugLevel = 0x100;
+            //DebugLevel = 0x100;
         }
 
         /* For an FDO, just dump the extension pointer and IRP string */
         }
 
         /* For an FDO, just dump the extension pointer and IRP string */