[Rt-commit] rt branch, 3.8/perlcritic, updated. rt-3.8.10-35-g772c1c5

Thomas Sibley trs at bestpractical.com
Thu Jun 30 17:34:59 EDT 2011


The branch, 3.8/perlcritic has been updated
       via  772c1c5ce838db885bc723bca79403b5f8cd60bf (commit)
      from  f1189a7ec6e753d7e3fd549ba05693933b90b2a4 (commit)

Summary of changes:
 bin/rt.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 772c1c5ce838db885bc723bca79403b5f8cd60bf
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Jun 30 17:32:42 2011 -0400

    Satisfy critic's incorrect unreachable code policy by not running handler() until the end

diff --git a/bin/rt.in b/bin/rt.in
index c0ef3ad..8e933b4 100755
--- a/bin/rt.in
+++ b/bin/rt.in
@@ -170,8 +170,6 @@ sub handler {
     }
 }
 
-exit handler();
-
 # Handler functions.
 # ------------------
 #
@@ -1745,6 +1743,8 @@ sub prettylist {
     print @open if @open;
 }
 
+exit handler();
+
 __DATA__
 
 Title: intro

-----------------------------------------------------------------------


More information about the Rt-commit mailing list