[NTOS:KD] Fix compilation with CMAKE_BUILD_TYPE=Release

This was broken by commit a890fc64d1
This commit is contained in:
Hervé Poussineau 2020-03-29 00:30:53 +01:00
parent 38e53eea4f
commit 8b6e441a6e

View file

@ -626,6 +626,7 @@ KdpPromptString(
_In_ PSTRING PromptString, _In_ PSTRING PromptString,
_In_ PSTRING ResponseString) _In_ PSTRING ResponseString)
{ {
#ifdef KDBG
KIRQL OldIrql; KIRQL OldIrql;
STRING StringChar; STRING StringChar;
CHAR Response; CHAR Response;
@ -720,6 +721,7 @@ KdpPromptString(
/* Print a new line */ /* Print a new line */
*StringChar.Buffer = '\n'; *StringChar.Buffer = '\n';
KdpPrintString(&StringChar); KdpPrintString(&StringChar);
#endif
/* Success; we don't need to resend */ /* Success; we don't need to resend */
return FALSE; return FALSE;