Cactus: CCTK_ParameterWalk: Avoid uninitialized variable
Issue #2702
resolved
Ensure `next_index` is re-initialized every time.
Otherwise there is a code path where CCTK_ParameterWalk
is called with first=1
, where next_index
is not reset to 0
before it is used.
Comments (4)
-
reporter -
Please apply.
-
-
- changed status to resolved
- Log in to comment
See https://bitbucket.org/cactuscode/cactus/pull-requests/150.
Please review.