mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
First use "ptr", then set it to NULL
svn path=/trunk/; revision=18524
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user