Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
valueflow.cpp: fixed
-Wmaybe-uninitialized
GCC warning in optimized…
… build (danmar#6430) ``` lib/valueflow.cpp: In function ‘const Token* ValueFlow::solveExprValue(const Token*, const std::function<std::vector<long long int>(const Token*)>&, Value&)’: lib/valueflow.cpp:8405:28: warning: ‘intval’ may be used uninitialized [-Wmaybe-uninitialized] 8405 | value.intvalue /= intval; | ~~~~~~~~~~~~~~~^~~~~~~~~ lib/valueflow.cpp:8383:21: note: ‘intval’ was declared here 8383 | MathLib::bigint intval; | ^~~~~~ ```
- Loading branch information