[Pkg-libvirt-commits] [libguestfs] 82/384: builder: index-parse: Remove unused destructor.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 29 16:55:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit 85b664dacd4284ff8127d09ba541590cfc8e9785
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Dec 12 12:50:16 2014 +0000
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>
^^^^^^^^^^
---
builder/index-parse.y | 2 --
1 file changed, 2 deletions(-)
diff --git a/builder/index-parse.y b/builder/index-parse.y
index ab8b515..8ea2d73 100644
--- a/builder/index-parse.y
+++ b/builder/index-parse.y
@@ -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>
%%
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list