[ros-diffs] [akhaldi] 53682: * Missed some assignments in debug.c. * Add a dummy allow_warnings() for msvc build.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Sun Sep 11 00:44:13 UTC 2011


Author: akhaldi
Date: Sun Sep 11 00:44:13 2011
New Revision: 53682

URL: http://svn.reactos.org/svn/reactos?rev=53682&view=rev
Log:
* Missed some assignments in debug.c.
* Add a dummy allow_warnings() for msvc build.

Modified:
    trunk/reactos/cmake/msvc.cmake
    trunk/reactos/drivers/bus/pcix/debug.c

Modified: trunk/reactos/cmake/msvc.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=53682&r1=53681&r2=53682&view=diff
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Sun Sep 11 00:44:13 2011
@@ -214,3 +214,6 @@
 
     add_custom_target(${_target_name} ALL DEPENDS ${_binary_file})
 endfunction()
+
+function(allow_warnings __module)
+endfunction()

Modified: trunk/reactos/drivers/bus/pcix/debug.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pcix/debug.c?rev=53682&r1=53681&r2=53682&view=diff
==============================================================================
--- trunk/reactos/drivers/bus/pcix/debug.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pcix/debug.c [iso-8859-1] Sun Sep 11 00:44:13 2011
@@ -182,11 +182,11 @@
         /* 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 */




More information about the Ros-diffs mailing list