From 74bfd2f97c0a95b6fb73a67d9334e54a90695c58 Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Tue, 13 Mar 2018 12:08:37 +0100 Subject: [PATCH] Filters: Removed FI_COMMA, not used for 19 years. This instruction was removed in the commit linked below and never used ever again. Rest in peace. commit 84c7e1943f0dbf896b1dd8d02a21120aa00463f4 Author: Pavel Machek Date: Tue Mar 2 19:49:28 1999 +0000 --- filter/filter.c | 7 +------ filter/filter.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/filter/filter.c b/filter/filter.c index 85721dbd..023f7e2f 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -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: diff --git a/filter/filter.h b/filter/filter.h index 09f96084..1d0f389e 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -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, '*') \