mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add explicit return value to Reducer::SameOp()
Helps tools that don't realize the implications of [[noreturn]] on the Reporter::InternalError() in this case.
This commit is contained in:
parent
75d3cbda4b
commit
0ef315d143
1 changed files with 2 additions and 2 deletions
|
@ -224,8 +224,8 @@ bool Reducer::SameOp(const Expr* op1, const Expr* op2)
|
|||
return true;
|
||||
}
|
||||
|
||||
else
|
||||
reporter->InternalError("bad singleton tag");
|
||||
reporter->InternalError("bad singleton tag");
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Reducer::SameExpr(const Expr* e1, const Expr* e2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue