summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-09 08:46:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-09 08:46:16 +0000
commit4a31af4c6892924934e748eeed17b32cc3d29b97 (patch)
treef14edffbe9cc23108b686013e5f55132ff8fe0a1 /perl-install/lang.pm
parentae8ad18fd757d58d6d2a907454ba335592acfb05 (diff)
downloaddrakx-backup-do-not-use-4a31af4c6892924934e748eeed17b32cc3d29b97.tar
drakx-backup-do-not-use-4a31af4c6892924934e748eeed17b32cc3d29b97.tar.gz
drakx-backup-do-not-use-4a31af4c6892924934e748eeed17b32cc3d29b97.tar.bz2
drakx-backup-do-not-use-4a31af4c6892924934e748eeed17b32cc3d29b97.tar.xz
drakx-backup-do-not-use-4a31af4c6892924934e748eeed17b32cc3d29b97.zip
(write) kill unused variable
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 492308edc..3057ffebf 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1027,9 +1027,8 @@ sub write {
if ($locale->{IM} && $locale->{IM} ne 'None') {
log::explanations(qq(Configuring "$locale->{IM}" IM));
delete @$h{qw(GTK_IM_MODULE QT_IM_MODULE XIM XIM_PROGRAM XMODIFIERS)};
- my $lang = $locale->{lang};
add2hash($h, { XIM_PROGRAM => $im_xim_program{$locale->{IM}}{$h->{LC_NAME}} });
- add2hash($h, $xim{$lang});
+ add2hash($h, $xim{$locale->{lang}});
add2hash($h, $gtkqt_im{$locale->{IM}});
$h->{QT_IM_MODULE} = $h->{GTK_IM_MODULE} if $h->{GTK_IM_MODULE};
my @packages = IM2packages($locale);