summaryrefslogtreecommitdiffstats
path: root/include/parser.h
diff options
context:
space:
mode:
authorLaurent Fasnacht <fasnacht@protonmail.ch>2020-02-10 10:17:24 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2020-02-13 13:03:15 +0100
commitad63cde708fd7a79332b09ae4a06b8a4b345aa72 (patch)
tree9b4c12bfb0fbd7d6bc52c34ee26db56617d8aa77 /include/parser.h
parent35adaa2741414551ffbc3970cb2dd1704cce1179 (diff)
scanner: remove parser_state->indescs static array
This static array is redundant with the indesc_list structure, but is less flexible. Signed-off-by: Laurent Fasnacht <fasnacht@protonmail.ch> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/parser.h b/include/parser.h
index 949284d9..66db92d8 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -15,7 +15,6 @@
struct parser_state {
struct input_descriptor *indesc;
- struct input_descriptor *indescs[MAX_INCLUDE_DEPTH];
unsigned int indesc_idx;
struct list_head indesc_list;