]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Filters: Removed FI_COMMA, not used for 19 years.
authorJan Maria Matejka <mq@ucw.cz>
Tue, 13 Mar 2018 11:08:37 +0000 (12:08 +0100)
committerJan Maria Matejka <mq@ucw.cz>
Tue, 13 Mar 2018 16:01:37 +0000 (17:01 +0100)
This instruction was removed in the commit linked below
and never used ever again. Rest in peace.

commit 84c7e1943f0dbf896b1dd8d02a21120aa00463f4
Author: Pavel Machek <pavel@ucw.cz>
Date:   Tue Mar 2 19:49:28 1999 +0000

filter/filter.c
filter/filter.h

index 85721dbdc011254a9419ff96316d10a655b19ed0..023f7e2f15efdd4627de3b6b4e72b45f90defd2f 100644 (file)
@@ -641,10 +641,6 @@ interpret(struct f_inst *what)
   for ( ; what; what = what->next) {
   res.type = T_VOID;
   switch(what->fi_code) {
-  case FI_COMMA:
-    TWOARGS;
-    break;
-
 /* Binary operators */
   case FI_ADD:
     TWOARGS_C;
@@ -1541,8 +1537,7 @@ i_same(struct f_inst *f1, struct f_inst *f2)
     return 1;
 
   switch(f1->fi_code) {
-  case FI_COMMA: /* fall through */
-  case FI_ADD:
+  case FI_ADD: /* fall through */
   case FI_SUBTRACT:
   case FI_MULTIPLY:
   case FI_DIVIDE:
index 09f96084ea2be04e465c7c297a8a32e75170a102..1d0f389e09f18b8fb4a22c6ebcb456a8b19c436d 100644 (file)
@@ -18,7 +18,6 @@
 
 #define FI__TWOCHAR(a,b)       ((a<<8) | b)
 #define FI__LIST \
-  F(FI_COMMA,                    0, ',') \
   F(FI_ADD,                      0, '+') \
   F(FI_SUBTRACT,                 0, '-') \
   F(FI_MULTIPLY,                 0, '*') \