Hi,
with the latest main branch head I get a new coredump for this code:
namespace { static const type conf1[] = { { &cb, NULL, &conf2 } }; }
cppcheck: lib/valueflow.cpp:2415: ExpressionAnalyzer::ExpressionAnalyzer(const Token, const ValueFlow::Value&, const TokenList): Assertion `e && e->exprId() != 0 && "Not a valid expression"' failed. Aborted (core dumped)
Could you please check?
Thanks, Martin
Most definitely due to: https://github.com/danmar/cppcheck/commit/08041e3a0b33ccb4b695df5fa14ac1c384c243c4
Log in to post a comment.
Hi,
with the latest main branch head I get a new coredump for this code:
cppcheck: lib/valueflow.cpp:2415: ExpressionAnalyzer::ExpressionAnalyzer(const Token, const ValueFlow::Value&, const TokenList): Assertion `e && e->exprId() != 0 && "Not a valid expression"' failed.
Aborted (core dumped)
Could you please check?
Thanks,
Martin
Most definitely due to: https://github.com/danmar/cppcheck/commit/08041e3a0b33ccb4b695df5fa14ac1c384c243c4