Skip to content

Commit b076469

Browse files
committed
Fix warnings
1 parent 24bc519 commit b076469

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/wing_geometry.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,8 +1067,6 @@ function refine_mesh_for_linear_cosine_distribution!(
10671067
new_quarter_chord = zeros(Float64, n_sections, 3)
10681068
new_LE = zeros(Float64, n_sections, 3)
10691069
new_TE = zeros(Float64, n_sections, 3)
1070-
new_sections = Section[]
1071-
10721070
# 3. Calculate new points and interpolate
10731071
for i in 1:n_sections
10741072
target_length = target_lengths[i]
@@ -1233,7 +1231,6 @@ function refine_mesh_by_splitting_provided_sections!(wing::AbstractWing; reuse_a
12331231
else
12341232
reinit!(wing.refined_sections[idx], wing.unrefined_sections[end])
12351233
end
1236-
idx += 1
12371234

12381235
# Validate result
12391236
if length(wing.refined_sections) != wing.n_panels + 1

0 commit comments

Comments
 (0)