summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/gimp.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/gimp.pm')
-rw-r--r--perl-install/printer/gimp.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/printer/gimp.pm b/perl-install/printer/gimp.pm
index c3a8908a7..e6eab53c1 100644
--- a/perl-install/printer/gimp.pm
+++ b/perl-install/printer/gimp.pm
@@ -12,7 +12,7 @@ use printer::cups;
# ------------------------------------------------------------------
sub configure {
- my ($printer, $queue) = @_;
+ my ($printer) = @_;
# Do we have files to treat?
my @configfilenames = findconfigfiles();
return 1 if $#configfilenames < 0;
@@ -127,7 +127,7 @@ sub addcupsremoteto {
}
sub removeprinterfrom {
- my ($printer, $queue) = @_;
+ my ($_printer, $queue) = @_;
# Do we have files to treat?
my @configfilenames = findconfigfiles();
return 1 if $#configfilenames < 0;
@@ -287,7 +287,6 @@ sub addentry {
sub addprinter {
my ($section, $filecontent) = @_;
- my $entryinserted = 0;
my @lines = split("\n", $filecontent);
foreach (@lines) {
# section already there, nothing to be done