diff --git a/reactos/ntoskrnl/kd/gdbstub.c b/reactos/ntoskrnl/kd/gdbstub.c index 4d808784d16..bc7258f1377 100644 --- a/reactos/ntoskrnl/kd/gdbstub.c +++ b/reactos/ntoskrnl/kd/gdbstub.c @@ -1410,11 +1410,12 @@ KdEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord, /* reply to the request */ GspPutPacket (&GspOutBuffer[0]); } + + /* not reached */ + ASSERT(0); } - /* not reached */ - ASSERT(0); - return kdHandleException; + return kdDoNotHandleException; }