|
From: David F. <fa...@go...> - 2018-01-26 17:37:49
|
Hi all,
Clang analysis tools have identified the following snippet of code as
error-prone, in eval_tree.cc near line 712:
for (unsigned idx = cnt ; idx < rv.len() ; idx += 1) {
if (rv.get(idx) != pad)
res = verinum::V0;
break;
}
The break statement is unconditional, due to missing if open-brace, and
thus the for-loop executes at most once. Is this a bug?
David
|