mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
First use "ptr", then set it to NULL
svn path=/trunk/; revision=18524
This commit is contained in:
parent
2960adb14b
commit
16f6e946c5
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,6 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
{
|
||||
PEPROCESS DbgProcess = NULL;
|
||||
|
||||
ptr = NULL;
|
||||
if (NULL != GspDbgThread &&
|
||||
PsGetCurrentProcess() != GspDbgThread->ThreadsProcess)
|
||||
{
|
||||
|
@ -1318,6 +1317,7 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
{
|
||||
strcpy(GspOutBuffer, "OK");
|
||||
}
|
||||
ptr = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue