aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfilter-int.h
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-11-21 12:42:37 +0000
committerJoão Valverde <j@v6e.pt>2022-11-30 17:36:17 +0000
commit84e75be5c60d0b7932f2b5aa3a5cab48ac42ddbe (patch)
tree4084eb5264e28cdc1d743b92c72937063df25c5e /epan/dfilter/dfilter-int.h
parent4b0bf62791c093e242565739aa0ec7a5ad335dfe (diff)
dfilter: Add optimization flag
When we are just testing code to see if it compiles performing optimizations is wasteful. Add an option to disable them.
Diffstat (limited to 'epan/dfilter/dfilter-int.h')
-rw-r--r--epan/dfilter/dfilter-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dfilter/dfilter-int.h b/epan/dfilter/dfilter-int.h
index 7ad88f2280..3e5df9110e 100644
--- a/epan/dfilter/dfilter-int.h
+++ b/epan/dfilter/dfilter-int.h
@@ -55,6 +55,7 @@ typedef struct {
GHashTable *references; /* hfinfo -> pointer to array of references */
GHashTable *raw_references; /* hfinfo -> pointer to array of references */
char *expanded_text;
+ gboolean apply_optimization;
} dfwork_t;
/*