]> Sergey Matveev's repositories - public-inbox.git/commitdiff
DS: drop unused "_undef" sub
authorEric Wong <e@80x24.org>
Wed, 8 May 2019 18:58:58 +0000 (18:58 +0000)
committerEric Wong <e@80x24.org>
Wed, 8 May 2019 18:58:58 +0000 (18:58 +0000)
No longer used since we removed the *_ip_string fields

lib/PublicInbox/DS.pm

index 5dd1bb7cbf68637420dbca472cc1107c8de0faaa..c03bd5dd097348648d5da145a8cd1e591e169abe 100644 (file)
@@ -1033,13 +1033,6 @@ sub as_string {
     return $ret;
 }
 
-sub _undef {
-    return undef unless $ENV{DS_DEBUG};
-    my $msg = shift || "";
-    warn "PublicInbox::DS: $msg\n";
-    return undef;
-}
-
 package PublicInbox::DS::Timer;
 # [$abs_float_firetime, $coderef];
 sub cancel {