]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Removes some nonsense.
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 27 Nov 2012 00:30:09 +0000 (01:30 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 27 Nov 2012 00:30:09 +0000 (01:30 +0100)
filter/filter.c

index fb2034ee928dde0ea962b7dfae2db54c7b04845c..44fcf2932be9fa380642a3c88cc47545c2d3451e 100644 (file)
@@ -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;