INN commit: branches/2.6/innd (art.c python.c)
INN Commit
rra at isc.org
Sun May 10 12:57:49 UTC 2020
Date: Sunday, May 10, 2020 @ 05:57:48
Author: iulius
Revision: 10364
innd: remove unused filterPath variable
Variable unused since 2001 (removal forgotten in commit 4435).
Modified:
branches/2.6/innd/art.c
branches/2.6/innd/python.c
----------+
art.c | 8 --------
python.c | 1 -
2 files changed, 9 deletions(-)
Modified: art.c
===================================================================
--- art.c 2020-05-10 12:56:57 UTC (rev 10363)
+++ art.c 2020-05-10 12:57:48 UTC (rev 10364)
@@ -77,10 +77,6 @@
static char hostcclass[256];
#define ARThostchar(c) ((hostcclass[(unsigned char)(c)]) != 0)
-#if defined(DO_PERL) || defined(DO_PYTHON)
-const char *filterPath;
-#endif /* DO_PERL || DO_PYTHON */
-
/* Prototypes. */
static void ARTerror(CHANNEL *cp, const char *format, ...)
__attribute__((__format__(printf, 2, 3)));
@@ -2072,10 +2068,6 @@
}
}
-#if defined(DO_PERL) || defined(DO_PYTHON)
- filterPath = HDR(HDR__PATH);
-#endif /* DO_PERL || DO_PYHTON */
-
#if defined(DO_PYTHON)
TMRstart(TMR_PYTHON);
filterrc = PYartfilter(data, article->data + data->Body,
Modified: python.c
===================================================================
--- python.c 2020-05-10 12:56:57 UTC (rev 10363)
+++ python.c 2020-05-10 12:57:48 UTC (rev 10364)
@@ -60,7 +60,6 @@
#include "innd.h"
bool PythonFilterActive;
-char *filterPath; /* This gets set in art.c. */
PyObject *PYFilterObject = NULL;
PyObject *PYFilterModule = NULL;
More information about the inn-committers
mailing list