- Fix compile issues caused by previous patch.
[reactos.git] / reactos / ntoskrnl / kd / kdio.c
index bafc17b..a15a8b9 100644 (file)
@@ -263,10 +263,11 @@ STDCALL
 KdpPrintString(LPSTR String,
                ULONG Length)
 {
-    if (!KdpDebugMode.Value) return 0;
     PLIST_ENTRY CurrentEntry;
     PKD_DISPATCH_TABLE CurrentTable;
 
+    if (!KdpDebugMode.Value) return 0;
+
     /* Call the registered handlers */
     CurrentEntry = KdProviders.Flink;
     while (CurrentEntry != &KdProviders)