summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg/phpdbg_win.c')
-rw-r--r--sapi/phpdbg/phpdbg_win.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg_win.c b/sapi/phpdbg/phpdbg_win.c
index b0cbdf267a..5ad99cb0ef 100644
--- a/sapi/phpdbg/phpdbg_win.c
+++ b/sapi/phpdbg/phpdbg_win.c
@@ -31,9 +31,8 @@ int phpdbg_exception_handler_win32(EXCEPTION_POINTERS *xp) {
CONTEXT *xc = xp->ContextRecord;
if(xr->ExceptionCode == EXCEPTION_ACCESS_VIOLATION) {
- TSRMLS_FETCH();
-
- if (phpdbg_watchpoint_segfault_handler((void *)xr->ExceptionInformation[1] TSRMLS_CC) == SUCCESS) {
+
+ if (phpdbg_watchpoint_segfault_handler((void *)xr->ExceptionInformation[1]) == SUCCESS) {
return EXCEPTION_CONTINUE_EXECUTION;
}
}