Browse Source

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 years ago
parent
commit
5ae40e066d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scripts/Dpkg/Changelog/Debian.pm

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

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