user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 1/2] nntp: remove unused header_append method
  2021-03-16  8:48  7% [PATCH 0/2] some dead code elimination Eric Wong
@ 2021-03-16  8:48  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-03-16  8:48 UTC (permalink / raw)
  To: meta

It was unused since 1bf653ad139bf7bb3d853ab0b5eae3eaa1b13a95
("nntp+www: drop List-* and Archived-At headers")
---
 lib/PublicInbox/NNTP.pm | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm
index 18822d3b..f7d99913 100644
--- a/lib/PublicInbox/NNTP.pm
+++ b/lib/PublicInbox/NNTP.pm
@@ -409,15 +409,6 @@ sub cmd_quit ($) {
 	undef;
 }
 
-sub header_append ($$$) {
-	my ($hdr, $k, $v) = @_;
-	my @v = $hdr->header_raw($k);
-	foreach (@v) {
-		return if $v eq $_;
-	}
-	$hdr->header_set($k, @v, $v);
-}
-
 sub xref_by_tc ($$$) {
 	my ($xref, $pi_cfg, $smsg) = @_;
 	my $by_addr = $pi_cfg->{-by_addr};

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] some dead code elimination
@ 2021-03-16  8:48  7% Eric Wong
  2021-03-16  8:48  7% ` [PATCH 1/2] nntp: remove unused header_append method Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-03-16  8:48 UTC (permalink / raw)
  To: meta

Eric Wong (2):
  nntp: remove unused header_append method
  git: drop async_prefetch method

 lib/PublicInbox/Git.pm  | 14 --------------
 lib/PublicInbox/NNTP.pm |  9 ---------
 2 files changed, 23 deletions(-)

^ permalink raw reply	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-03-16  8:48  7% [PATCH 0/2] some dead code elimination Eric Wong
2021-03-16  8:48  7% ` [PATCH 1/2] nntp: remove unused header_append method Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).