Skip to content

Commit 041b33a

Browse files
committed
code not belonging to this PR removed
1 parent 15731e6 commit 041b33a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tcl/subcmd.tcl.in

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1965,16 +1965,7 @@ proc runModuleUse {cmd mode pos args} {
19651965
$* {
19661966
lappend pathlist $path
19671967
}
1968-
default {
1969-
if {[info exists ::g_modulepathLabel]} {
1970-
foreach key [array names ::g_modulepathLabel] {
1971-
set v $::g_modulepathLabel($key)
1972-
if {[string equal $v $path]} {
1973-
set path $key
1974-
break
1975-
}
1976-
}
1977-
}
1968+
default {
19781969
if {$pos eq {remove}} {
19791970
if {$path in $modpathlist} {
19801971
lappend pathlist $path

0 commit comments

Comments
 (0)