Return 0xdead instead of -1 on error
This commit is contained in:
parent
7b0f94ce98
commit
06bf0a1930
@ -16,6 +16,6 @@ int evaluate(const expression_t *expression)
|
|||||||
case OPERATOR_DIVIDE:
|
case OPERATOR_DIVIDE:
|
||||||
return x / y;
|
return x / y;
|
||||||
default:
|
default:
|
||||||
return -1;
|
return 0xdead;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user