Просмотр исходного кода

Dpkg::Changelog::Debian: Remove unused $options variable

This was left behind when the code got moved into check_header() in
commit dc5d755b0fe118938f7bba438fcf2e44461b0f65, remove now.
Guillem Jover лет назад: 12
Родитель
Сommit
5ae40e066d
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      scripts/Dpkg/Changelog/Debian.pm

+ 0 - 1
scripts/Dpkg/Changelog/Debian.pm

@@ -84,7 +84,6 @@ sub parse {
     while (<$fh>) {
 	chomp;
 	if ($_ =~ $regex_header) {
-	    (my $options = $4) =~ s/^\s+//;
 	    unless ($expect eq FIRST_HEADING || $expect eq NEXT_OR_EOF) {
 		$self->parse_error($file, $.,
 		    sprintf(_g('found start of entry where expected %s'),