From 13d075edb755bd29c4e86f1129293eccd559bb6e Mon Sep 17 00:00:00 2001 From: 0tkl Date: Wed, 14 May 2025 16:43:02 +0800 Subject: [PATCH] remove redundant paratheses from comments --- src/epanet.c | 10 +++++----- src/report.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/epanet.c b/src/epanet.c index 70c9a37..a3c2849 100644 --- a/src/epanet.c +++ b/src/epanet.c @@ -5703,7 +5703,7 @@ int DLLEXPORT EN_setpremisestatus(EN_Project p, int ruleIndex, int premiseIndex, ** Input: ruleIndex = rule index ** premiseIndex = premise index ** status = object status being tested against -** (see EN_RuleStatus)) +** (see EN_RuleStatus) ** Output: none ** Returns: error code ** Purpose: sets the status of an object being tested against @@ -5755,7 +5755,7 @@ int DLLEXPORT EN_getthenaction(EN_Project p, int ruleIndex, int actionIndex, ** Input: ruleIndex = rule index ** actionIndex = index of a rule's THEN actions ** Output: linkIndex = index of link appearing in the action -** status = status assigned to the link (see EN_RuleStatus)) +** status = status assigned to the link (see EN_RuleStatus) ** setting = setting assigned to the link ** Returns: error code ** Purpose: retrieves the properties of a rule's THEN action @@ -5783,7 +5783,7 @@ int DLLEXPORT EN_setthenaction(EN_Project p, int ruleIndex, int actionIndex, ** Input: ruleIndex = rule index ** actionIndex = index of a rule's THEN actions ** linkIndex = index of link appearing in the action -** status = status assigned to the link (see EN_RuleStatus)) +** status = status assigned to the link (see EN_RuleStatus) ** setting = setting assigned to the link ** Returns: error code ** Purpose: sets the properties of a rule's THEN action @@ -5811,7 +5811,7 @@ int DLLEXPORT EN_getelseaction(EN_Project p, int ruleIndex, int actionIndex, ** Input: ruleIndex = rule index ** actionIndex = index of a rule's ELSE actions ** Output: linkIndex = index of link appearing in the action -** status = status assigned to the link (see EN_RuleStatus)) +** status = status assigned to the link (see EN_RuleStatus) ** setting = setting assigned to the link ** Returns: error code ** Purpose: retrieves the properties of a rule's ELSE action @@ -5839,7 +5839,7 @@ int DLLEXPORT EN_setelseaction(EN_Project p, int ruleIndex, int actionIndex, ** Input: ruleIndex = rule index ** actionIndex = index of a rule's ELSE actions ** linkIndex = index of link appearing in the action -** status = status assigned to the link (see EN_RuleStatus)) +** status = status assigned to the link (see EN_RuleStatus) ** setting = setting assigned to the link ** Returns: error code ** Purpose: sets the properties of a rule's ELSE action diff --git a/src/report.c b/src/report.c index 676b7d1..6ce3fe8 100644 --- a/src/report.c +++ b/src/report.c @@ -466,7 +466,7 @@ void writemassbalance(Project *pr) ** Input: none ** Output: none ** Purpose: writes water quality mass balance ratio -** (Outflow + Final Storage) / Inflow + Initial Storage) +** (Outflow + Final Storage) / Inflow + Initial Storage ** to report file. **------------------------------------------------------------- */