Remove useless asignment.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Component / ContextClosure.pm
index 475b962..23e1381 100644 (file)
@@ -6,7 +6,6 @@ use namespace::autoclean;
 
 sub make_context_closure {
     my ($self, $closure, $ctx) = @_;
-    my $weak_ctx = $ctx;
     weaken $ctx;
     return sub { $closure->($ctx, @_) };
 }