mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Remove unused variables and parameter warnings (#4767)
Remove the following types of build warnings: warning C4189: local variable is initialized but not referenced warning C4100: unreferenced parameter warning C4101: unreferenced local variable I have only commented out unused variables and used [[maybe_unused]] for unused parameters.
This commit is contained in:
@@ -1018,8 +1018,7 @@ namespace gte
|
||||
|
||||
for (int i = 1; i <= input.numUniqueKnots - 2; ++i)
|
||||
{
|
||||
int mult = mUniqueKnots[i].multiplicity;
|
||||
LogAssert(mult >= 1 && mult <= mDegree + 1, "Invalid interior multiplicity.");
|
||||
LogAssert(mUniqueKnots[i].multiplicity >= 1 && mUniqueKnots[i].multiplicity <= mDegree + 1, "Invalid interior multiplicity.");
|
||||
}
|
||||
|
||||
mOpen = (mult0 == mult1 && mult0 == mDegree + 1);
|
||||
|
||||
Reference in New Issue
Block a user