threads / patch / 37805

patchgit-svn: remove unnecessary DESTROY override

Subject: [PATCH] git-svn: remove unnecessary DESTROY override

## tl;dr

One message between Oct 25, 2014 and Oct 25, 2014. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Eric Wong· Oct 25, 2014, 08:01 UTC · lore

This override was probably never necessary, but most likely a no-op as it does not appear to do anything in SVN::Ra itself.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 perl/Git/SVN/Ra.pm | 4 ----
 1 file changed, 4 deletions(-)
Show changes to perl/Git/SVN/Ra.pm +0 −4
diff --git a/perl/Git/SVN/Ra.pm b/perl/Git/SVN/Ra.pm
index 1828519..e326849 100644
--- a/perl/Git/SVN/Ra.pm
+++ b/perl/Git/SVN/Ra.pm
@@ -177,10 +177,6 @@ sub get_dir {
 	wantarray ? (\%dirents, $r, $props) : \%dirents;
 }
 
-sub DESTROY {
-	# do not call the real DESTROY since we store ourselves in $RA
-}
-
 # get_log(paths, start, end, limit,
 #         discover_changed_paths, strict_node_history, receiver)
 sub get_log {
-- 
EW

← back to recent threads