projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2960adb
)
First use "ptr", then set it to NULL
author
Gé van Geldorp
<ge@gse.nl>
Mon, 17 Oct 2005 16:59:31 +0000
(16:59 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Mon, 17 Oct 2005 16:59:31 +0000
(16:59 +0000)
svn path=/trunk/; revision=18524
reactos/ntoskrnl/kd/wrappers/gdbstub.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/kd/wrappers/gdbstub.c
b/reactos/ntoskrnl/kd/wrappers/gdbstub.c
index
cd04001
..
0e4c45b
100644
(file)
--- a/
reactos/ntoskrnl/kd/wrappers/gdbstub.c
+++ b/
reactos/ntoskrnl/kd/wrappers/gdbstub.c
@@
-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;
}
}