summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library/DebugLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Library/DebugLib.h')
-rw-r--r--MdePkg/Include/Library/DebugLib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/DebugLib.h b/MdePkg/Include/Library/DebugLib.h
index 693fc3cf7a..6e009654d2 100644
--- a/MdePkg/Include/Library/DebugLib.h
+++ b/MdePkg/Include/Library/DebugLib.h
@@ -351,7 +351,7 @@ DebugClearMemoryEnabled (
are not included in a module.
**/
-#define DEBUG_CODE_END() __DebugCodeLocal = 0; } } while (FALSE)
+#define DEBUG_CODE_END() __DebugCodeLocal = 0; __DebugCodeLocal++; } } while (FALSE)
/**