add a default value to controlIndex
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user