INN commit: trunk/innd (art.c python.c)
INN Commit
rra at isc.org
Sun May 10 12:48:56 UTC 2020
Date: Sunday, May 10, 2020 @ 05:48:53
Author: iulius
Revision: 10361
innd: remove unused filterPath variable
Variable unused since 2001 (removal forgotten in commit 4435).
Modified:
trunk/innd/art.c
trunk/innd/python.c
----------+
art.c | 8 --------
python.c | 1 -
2 files changed, 9 deletions(-)
Modified: art.c
===================================================================
--- art.c 2020-03-08 21:47:25 UTC (rev 10360)
+++ art.c 2020-05-10 12:48:53 UTC (rev 10361)
@@ -78,10 +78,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)));
@@ -2073,10 +2069,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-03-08 21:47:25 UTC (rev 10360)
+++ python.c 2020-05-10 12:48:53 UTC (rev 10361)
@@ -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