Permalink
Browse files

Fix compilation error: var decl must preceed statements (rt#62154)

  • Loading branch information...
1 parent 91e4923 commit 35aa7999fe12684aa8a608477390e1827a73ae1e @ashb committed Apr 22, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 TryCatch.xs
View
6 TryCatch.xs
@@ -108,13 +108,13 @@ try_return (pTHX_ OP *op, void *user_data) {
/* The implementation of wantarray op/keyword inside try blocks. */
STATIC OP*
try_wantarray( pTHX_ OP *op, void *user_data ) {
- PERL_UNUSED_VAR(op);
- PERL_UNUSED_VAR(user_data);
-
dVAR;
dSP;
EXTEND(SP, 1);
+ PERL_UNUSED_VAR(op);
+ PERL_UNUSED_VAR(user_data);
+
/* We want the context from the closest subroutine, not from the closest
* block
*/

0 comments on commit 35aa799

Please sign in to comment.