summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGerard Goossen <gerard@tty.nl>2009-10-28 18:46:06 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2009-10-29 10:51:13 +0100
commitad09800fcb5c21c4084cd9e0e33da685b92b337a (patch)
treeecfb149f8dc687fcd908c6797e910bf6dc7baab2 /util.c
parent482aa6ffeb230a1cea9d05e9eb425b3d7fc09217 (diff)
downloadperl-ad09800fcb5c21c4084cd9e0e33da685b92b337a.tar.gz
remove unnecessary (always true) condition in S_vdie
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index 50675d3e9e..257621434e 100644
--- a/util.c
+++ b/util.c
@@ -1369,9 +1369,9 @@ S_vdie(pTHX_ const char* pat, va_list *args)
PL_restartop = die_where(message, msglen);
SvFLAGS(ERRSV) |= utf8;
- if ((!PL_restartop && was_in_eval) || PL_top_env->je_prev)
- JMPENV_JUMP(3);
- return PL_restartop;
+ JMPENV_JUMP(3);
+ /* NOTREACHED */
+ return NULL;
}
#if defined(PERL_IMPLICIT_CONTEXT)