Explorar el Código

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 hace 12 años
padre
commit
5ae40e066d
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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'),