[libmarpa-r2-perl] 01/14: Fix unreached statement issues: t+

Jonas Smedegaard dr at jones.dk
Sat May 17 21:24:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag Marpa-R2-2.085_006
in repository libmarpa-r2-perl.

commit 7c0faa2640c3261bdaea98da19cf513a9dfa5e4a
Author: Jeffrey Kegler <JKEGL at cpan.org>
Date:   Mon Apr 28 16:57:52 2014 -0700

    Fix unreached statement issues: t+
---
 cpan/xs/R2.xs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpan/xs/R2.xs b/cpan/xs/R2.xs
index 65a4f07..865eed6 100644
--- a/cpan/xs/R2.xs
+++ b/cpan/xs/R2.xs
@@ -1595,6 +1595,7 @@ v_do_stack_ops (V_Wrapper * v_wrapper, SV ** stack_results)
 
     }
 
+  /* Never reached */
   return -1;
 }
 
@@ -2473,7 +2474,6 @@ PPCODE:
 	throw = throw_sv && SvTRUE (throw_sv);
       }
       break;
-      croak ("Usage: Marpa::R2::Thin:G::new(class, arg_hash)");
     case 2:
       {
 	I32 retlen;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmarpa-r2-perl.git



More information about the Pkg-perl-cvs-commits mailing list