[ros-diffs] [peterw] 24689: - Added missing variable for the SMP build, noticed by Usurp. - Trimmed trailing white-space.

peterw at svn.reactos.org peterw at svn.reactos.org
Sun Nov 5 22:00:43 CET 2006


Author: peterw
Date: Mon Nov  6 00:00:42 2006
New Revision: 24689

URL: http://svn.reactos.org/svn/reactos?rev=24689&view=rev
Log:
- Added missing variable for the SMP build, noticed by Usurp.
- Trimmed trailing white-space.

Modified:
    trunk/reactos/ntoskrnl/ke/bug.c

Modified: trunk/reactos/ntoskrnl/ke/bug.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/bug.c?rev=24689&r1=24688&r2=24689&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ke/bug.c (original)
+++ trunk/reactos/ntoskrnl/ke/bug.c Mon Nov  6 00:00:42 2006
@@ -189,7 +189,7 @@
                 OutputString->Length = i + 1;
                 OutputString->MaximumLength = i + 1;
             }
-            else 
+            else
             {
                 /* Direct Output to Screen */
                 InbvDisplayString(BugCode);
@@ -521,6 +521,9 @@
     PLDR_DATA_TABLE_ENTRY LdrEntry;
     PULONG_PTR HardErrorParameters;
     KIRQL OldIrql;
+#ifdef CONFIG_SMP
+    LONG i = 0;
+#endif
 
     /* Set active bugcheck */
     KeBugCheckActive = TRUE;
@@ -868,7 +871,7 @@
 
 #ifdef CONFIG_SMP
         /* Freeze the other CPUs */
-        for (i = 0; i < KeNumberProcessors; i++) 
+        for (i = 0; i < KeNumberProcessors; i++)
         {
             if (i != (LONG)KeGetCurrentProcessorNumber())
             {




More information about the Ros-diffs mailing list