]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Status.pm
remove UTF8 warnings
[debbugs.git] / Debbugs / Status.pm
index 72e9ae65a05dd37c9877dbed32a2233ef5bc0153..6fe1c1a7a290544c479603f98f3d636fef2f6c59 100644 (file)
@@ -307,6 +307,9 @@ my $ditch_empty_space = sub {return &{$ditch_empty}(' ',@_)};
 my %split_fields =
     (package        => \&splitpackages,
      affects        => \&splitpackages,
+     # Ideally we won't have to split source, but because some consumers of
+     # get_bug_status cannot handle arrayref, we will split it here.
+     source         => \&splitpackages,
      blocks         => $ditch_empty_space,
      blockedby      => $ditch_empty_space,
      # this isn't strictly correct, but we'll split both of them for
@@ -416,7 +419,6 @@ data.
 =cut
 
 sub lockreadbugmerge {
-     my ($bug_num,$location) = @_;
      my $data = lockreadbug(@_);
      if (not defined $data) {
          return (0,undef);