summaryrefslogtreecommitdiff
path: root/deb.c
diff options
context:
space:
mode:
Diffstat (limited to 'deb.c')
-rw-r--r--deb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/deb.c b/deb.c
index df2ccffaa4..e246b1aa34 100644
--- a/deb.c
+++ b/deb.c
@@ -225,11 +225,9 @@ Perl_deb_stack_all(pTHX)
*/
I32 i, stack_min, stack_max, mark_min, mark_max;
- const PERL_CONTEXT *cx_n;
+ const PERL_CONTEXT *cx_n = NULL;
const PERL_SI *si_n;
- cx_n = Null(PERL_CONTEXT*);
-
/* there's a separate stack per SI, so only search
* this one */
@@ -257,7 +255,7 @@ Perl_deb_stack_all(pTHX)
si_n = si;
i = ix;
- cx_n = Null(PERL_CONTEXT*);
+ cx_n = NULL;
for (;;) {
i++;
if (i > si_n->si_cxix) {