From: Gerard Goossen <gerard@tty.nl>
Date: Wed, 28 Oct 2009 17:46:06 +0000 (+0100)
Subject: remove unnecessary (always true) condition in S_vdie
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ad09800fcb5c21c4084cd9e0e33da685b92b337a;p=p5sagit%2Fp5-mst-13.2.git

remove unnecessary (always true) condition in S_vdie
---

diff --git a/util.c b/util.c
index 50675d3..2576214 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)