mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Removes some nonsense.
This commit is contained in:
parent
3e40f3e795
commit
b31774eeb0
@ -622,9 +622,6 @@ interpret(struct f_inst *what)
|
|||||||
case T_VOID: runtime( "Can't operate with values of type void" );
|
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" );
|
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;
|
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" );
|
default: runtime( "Usage of unknown type" );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user