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