diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-11-27 01:30:09 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-11-27 01:30:09 +0100 |
commit | b31774eeb01a2f63e4ce4dc83f36ffd17879593e (patch) | |
tree | 6d2ac07e5c6a0f6ff282871dbc9c050e417a35a3 | |
parent | 3e40f3e795e39f0b92445fd5295382220077c77f (diff) |
Removes some nonsense.
-rw-r--r-- | filter/filter.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/filter/filter.c b/filter/filter.c index fb2034ee..44fcf293 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -622,9 +622,6 @@ interpret(struct f_inst *what) case T_VOID: runtime( "Can't operate with values of type void" ); case T_INT: if (v2.val.i == 0) runtime( "Mother told me not to divide by 0" ); res.val.i = v1.val.i / v2.val.i; break; - case T_IP: if (v2.type != T_INT) - runtime( "Incompatible types in / operator" ); - break; default: runtime( "Usage of unknown type" ); } break; |