mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Misc. clang static analyzer fixes
This commit is contained in:
committed by
LeaNumworks
parent
c3ceb0074f
commit
fe4e2e3e9d
@@ -294,7 +294,7 @@ void Zoom::RangeWithRatioForDisplay(ValueAtAbscissa evaluation, float yxRatio, f
|
||||
* dealing with linear functions. */
|
||||
float yRange = yxRatio * xRange;
|
||||
int j = 1;
|
||||
int bestIndex, bestBreadth = 0, bestDistanceToCenter;
|
||||
int bestIndex = 0, bestBreadth = 0, bestDistanceToCenter;
|
||||
for (int i = 0; i < sampleSize; i++) {
|
||||
if (sampleSize - i < bestBreadth) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user