Remove useless asignment.
Florian Ragwitz [Mon, 29 Jun 2009 22:05:12 +0000 (22:05 +0000)]
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, @_) };
 }