Verification; fix division by zero false negative when value might be uninitialized
This commit is contained in:
parent
3ada7672f3
commit
35a8cd8418
|
@ -116,6 +116,11 @@ namespace ExprEngine {
|
|||
class UninitValue: public Value {
|
||||
public:
|
||||
UninitValue() : Value("?", ValueType::UninitValue) {}
|
||||
virtual bool isEqual(DataBase *dataBase, int value) const {
|
||||
(void)dataBase;
|
||||
(void)value;
|
||||
return true;
|
||||
}
|
||||
bool isUninit() const OVERRIDE {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue