csiro-coasts / EMS

Environmental Modelling Suite
Other
15 stars 5 forks source link

Wmaybe-uninitialized fix for ci in advect.c #16

Closed rountree closed 10 months ago

rountree commented 4 years ago

ci is not initialized in the first for loop, but it is initialized the same way in the next two for loops. Based on style alone, it appears that initialization line was inadvertently dropped from the first for loop. This PR restores it.

Note: Second commit in this PR fixes an identical warning on line 7712.

Fixes #15

frizwi commented 10 months ago

Code re-worked, not an issue in v1.5.1