aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/aho-corasick
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-08-07 10:26:09 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-08-07 10:26:09 +0100
commitd46c5ad4a55e54681db731e0b4086b9f7e6b6bed (patch)
tree5a72b94e1e5fe8eb280c6cd4c5f04bdaf5d6b95b /contrib/aho-corasick
parent086be7b6b05ac4f765dbcf5600845ec31e9e5228 (diff)
downloadrspamd-d46c5ad4a55e54681db731e0b4086b9f7e6b6bed.tar.gz
rspamd-d46c5ad4a55e54681db731e0b4086b9f7e6b6bed.zip
[Fix] Fix and rework various parts
Diffstat (limited to 'contrib/aho-corasick')
-rw-r--r--contrib/aho-corasick/acism.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/aho-corasick/acism.c b/contrib/aho-corasick/acism.c
index b0cee0d66..7451a8791 100644
--- a/contrib/aho-corasick/acism.c
+++ b/contrib/aho-corasick/acism.c
@@ -38,8 +38,6 @@
#include "_acism.h"
#include "unix-std.h"
-#define BACK ((SYMBOL) 0)
-#define ROOT ((STATE) 0)
extern const unsigned char lc_map[256];
int acism_lookup(ac_trie_t const *psp, const char *text, size_t len,