ARTpathme

Heiko Schlichting inn-workers at fu-berlin.de
Sun Jan 31 17:55:41 UTC 2010


Variable ARTpathme is filled but not used anywhere.

Heiko Schlichting          Freie Universität Berlin
heiko at CIS.FU-Berlin.DE     Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Telefon +49 30 838-54327   Fabeckstraße 32
Telefax +49 30 838454327   14195 Berlin
-------------- next part --------------
commit 284138b3d3e34f41ac5fe8b519ca2d80a56cf424
Author: Heiko Schlichting <heiko at fu-berlin.de>
Date:   Sat Jan 30 19:38:33 2010 +0100

    Variable ARTpathme is filled but not used anywhere.

diff --git a/innd/art.c b/innd/art.c
index 58c1bbb..3a1a8c0 100644
--- a/innd/art.c
+++ b/innd/art.c
@@ -68,7 +68,6 @@ static ARTOVERFIELD	*ARTfields;
 */
 static char	ARTctl[] = "control";
 static char	ARTjnk[] = "junk";
-static char	*ARTpathme;
 
 /*
 **  Flag array, indexed by character.  Character classes for hostnames.
@@ -264,10 +263,6 @@ ARTsetup(void)
   ARTheadertree = ARTbuildtree(table, 0, ARRAY_SIZE(ARTheaders));
   free(table);
 
-  /* Get our Path name, kill trailing! */
-  ARTpathme = xstrdup(Path.data);
-  ARTpathme[Path.used - 1] = '\0';
-
   /* Set up database; ignore errors. */
   ARTreadschema();
 }


More information about the inn-workers mailing list