regcomp.c: Omit unnecessary 'else's
authorKarl Williamson <public@khwilliamson.com>
Mon, 7 Jan 2013 05:56:37 +0000 (22:56 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 11 Jan 2013 18:50:36 +0000 (11:50 -0700)
The 'if' part of this croaks, so there is no need to specify this as an
'else'

regcomp.c

index 74de460..3ee8440 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -10626,10 +10626,7 @@ tryagain:
                                                   to exact spot of failure */
                                vFAIL(error_msg);
                            }
-                           else
-                           {
-                               ender = result;
-                           }
+                            ender = result;
                            if (PL_encoding && ender < 0x100) {
                                goto recode_encoding;
                            }
@@ -10654,9 +10651,8 @@ tryagain:
                                                   to exact spot of failure */
                                vFAIL(error_msg);
                            }
-                           else {
-                               ender = result;
-                           }
+                            ender = result;
+
                            if (PL_encoding && ender < 0x100) {
                                goto recode_encoding;
                            }