diff --git a/src/hydraul.c b/src/hydraul.c index d6e4424..93907ec 100755 --- a/src/hydraul.c +++ b/src/hydraul.c @@ -7,7 +7,7 @@ Authors: see AUTHORS Copyright: see AUTHORS License: see LICENSE - Last Updated: 08/13/2022 + Last Updated: 08/02/2023 ****************************************************************************** */ @@ -718,7 +718,7 @@ int controltimestep(Project *pr, long *tstep) Network *net = &pr->network; Hydraul *hyd = &pr->hydraul; - int i, j, k, n, controlIndex; + int i, j, k, n, controlIndex = 0; double h, q, v; long t, t1, t2; Slink *link;