Skip to content

Commit c602677

Browse files
authored
Remove useless assignment in allocate-load (#1134)
1 parent 404d1d2 commit c602677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utilities/copy.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ function allocate_load(dest::MOI.ModelLike, src::MOI.ModelLike, copy_names::Bool
725725
allocate_constraints, allocate)
726726

727727
# Load variables
728-
vars = load_variables(dest, length(vis_src))
728+
load_variables(dest, length(vis_src))
729729
for cis_src in vector_of_variables_allocated
730730
load_vector_of_variables(dest, src, idxmap, cis_src)
731731
end

0 commit comments

Comments
 (0)