From: Eric Wong Date: Wed, 8 May 2019 18:58:58 +0000 (+0000) Subject: DS: drop unused "_undef" sub X-Git-Tag: v1.2.0~296^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=b6759f4bb35d7eda60044c6f8784274ebd61d729;p=public-inbox.git DS: drop unused "_undef" sub No longer used since we removed the *_ip_string fields --- diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm index 5dd1bb7c..c03bd5dd 100644 --- a/lib/PublicInbox/DS.pm +++ b/lib/PublicInbox/DS.pm @@ -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 {