aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_grammar.lemon
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dtd_grammar.lemon')
-rw-r--r--epan/dtd_grammar.lemon3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dtd_grammar.lemon b/epan/dtd_grammar.lemon
index 393157f117..b3cb2fd42b 100644
--- a/epan/dtd_grammar.lemon
+++ b/epan/dtd_grammar.lemon
@@ -61,7 +61,8 @@ static GPtrArray* g_ptr_array_join(GPtrArray* a, GPtrArray* b){
%extra_argument { dtd_build_data_t *bd }
-%token_destructor {
+%token_destructor {
+ (void) bd; /* Mark unused, similar to Q_UNUSED */
if ($$) {
if ($$->text) g_free($$->text);
if ($$->location) g_free($$->location);