binpac: Fix coverity unchecked return warning

This commit is contained in:
Tim Wojtulewicz 2025-07-01 16:36:38 -07:00
parent d13cdd6427
commit a25b5b65ff

View file

@ -49,6 +49,8 @@ void RequiresAnalyzerContext::ProcessExpr(Expr* expr) {
bool RequiresAnalyzerContext::compute(DataDepElement* element) {
RequiresAnalyzerContext visitor;
element->Traverse(&visitor);
// This result is intentionally ignored. We want to traverse, but always return
// the same result.
std::ignore = element->Traverse(&visitor);
return visitor.requires_analyzer_context_;
}