]> Sergey Matveev's repositories - public-inbox.git/commitdiff
feed: remove unnecessary encoding lookup
authorEric Wong <e@80x24.org>
Sat, 5 Mar 2016 06:45:41 +0000 (06:45 +0000)
committerEric Wong <e@80x24.org>
Sat, 5 Mar 2016 06:45:49 +0000 (06:45 +0000)
We handle encoding-related things elsewhere.

lib/PublicInbox/Feed.pm

index 65375fad679ed542852f1c53e9a3a686e6c1e963..47408535571c521d545c4d80ac94ae9dfb72e803 100644 (file)
@@ -18,9 +18,6 @@ use constant {
        MAX_PER_PAGE => 25, # this needs to be tunable
 };
 
-use Encode qw/find_encoding/;
-my $enc_utf8 = find_encoding('UTF-8');
-
 # main function
 sub generate {
        my ($ctx) = @_;