mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
builder: index-parse: Remove unused destructor.
YACC index-parse.c
index-parse.y:97.34-41: warning: type <fields> is used, but is not associated to any symbol [-Wother]
%destructor { field_free ($$); } <fields>
^^^^^^^^
index-parse.y:95.36-45: warning: type <sections> is used, but is not associated to any symbol [-Wother]
%destructor { section_free ($$); } <sections>
^^^^^^^^^^
This commit is contained in:
@@ -92,9 +92,7 @@ typedef void *yyscan_t;
|
||||
%parse-param { yyscan_t scanner }
|
||||
%parse-param { struct parse_context *context }
|
||||
|
||||
%destructor { section_free ($$); } <sections>
|
||||
%destructor { section_free ($$); } <section>
|
||||
%destructor { field_free ($$); } <fields>
|
||||
%destructor { field_free ($$); } <field>
|
||||
|
||||
%%
|
||||
|
||||
Reference in New Issue
Block a user