Skip to content

Commit

Permalink
serialize1LvlModulePropertyValue value arg is never empty
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelaruelle committed Oct 4, 2023
1 parent 3e2556f commit 94be93f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tcl/modfind.tcl.in
Original file line number Diff line number Diff line change
Expand Up @@ -1831,13 +1831,9 @@ proc serialize2LvlModulePropertyValue {mod structured_value_list\

proc serialize1LvlModulePropertyValue {mod structured_value_list\
char_map_list} {
if {[llength $structured_value_list]} {
set serialized_value [join [list $mod {*}$structured_value_list]\
[getState sub1_separator]]
set ret [string map $char_map_list $serialized_value]
} else {
set ret {}
}
set serialized_value [join [list $mod {*}$structured_value_list] [getState\
sub1_separator]]
set ret [string map $char_map_list $serialized_value]
return $ret
}

Expand Down

0 comments on commit 94be93f

Please sign in to comment.