commit 2ba857f14c62d612af8f64ecde11891d804a858c
parent a17e65d58091f1aa9b3121f8383a486277c017b3
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 31 Aug 2021 11:32:12 +0200
rangetest.c: remove unnecessary assignment
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/rangetest.c b/rangetest.c
@@ -64,12 +64,10 @@ binary_search(char *cmd, char *cmd0, double minv, double maxv, int maxiter)
maxfail = 1;
} else {
minv = val;
- minfail = 1;
}
} else {
if (maxfail) {
minv = val;
- minfail = 0;
} else {
maxv = val;
maxfail = 0;