[Privoxy-commits] [privoxy] 08/19: Remove useless csp member re_filterfile_short[]
User Git
git at git.privoxy.org
Mon Mar 16 07:54:56 CET 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 8efa2bb44fe028cc63d44525b650f5664c4e5ad9
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Wed Mar 11 10:26:47 2026 +0100
Remove useless csp member re_filterfile_short[]
---
loadcfg.c | 2 --
project.h | 3 ---
2 files changed, 5 deletions(-)
diff --git a/loadcfg.c b/loadcfg.c
index 580643ef..46eacf27 100644
--- a/loadcfg.c
+++ b/loadcfg.c
@@ -263,7 +263,6 @@ static void unload_configfile (void * data)
{
freez(config->actions_file_short[i]);
freez(config->actions_file[i]);
- freez(config->re_filterfile_short[i]);
freez(config->re_filterfile[i]);
}
@@ -1161,7 +1160,6 @@ struct configuration_spec * load_config(void)
"(You can increase this limit by changing MAX_AF_FILES in project.h and recompiling).",
MAX_AF_FILES);
}
- config->re_filterfile_short[i] = strdup_or_die(arg);
config->re_filterfile[i] = make_path(config->confdir, arg);
break;
diff --git a/project.h b/project.h
index 9075c9b7..ee50d8d4 100644
--- a/project.h
+++ b/project.h
@@ -1507,9 +1507,6 @@ struct configuration_spec
/** The file names of the pcre filter files. */
const char *re_filterfile[MAX_AF_FILES];
- /** The short names of the pcre filter files. */
- const char *re_filterfile_short[MAX_AF_FILES];
-
/**< List of ordered client header names. */
struct list ordered_client_headers[1];
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list