[Pkg-libvirt-commits] [libguestfs] 217/233: builder: Suppress warning about unused yyunput.
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:12:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit e3d23cccf4099680a4335db97fe2ccf2d3c950f4
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Feb 13 21:38:42 2014 +0000
builder: Suppress warning about unused yyunput.
CC virt_index_validate-index-validate.o
index-scan.c:1270:17: warning: 'yyunput' defined but not used [-Wunused-function]
static void yyunput (int c, register char * yy_bp )
^
CCLD virt-index-validate
By using %option nounput we can prevent this from being generated in
the first place.
---
builder/index-scan.l | 1 +
1 file changed, 1 insertion(+)
diff --git a/builder/index-scan.l b/builder/index-scan.l
index e43f82e..b120590 100644
--- a/builder/index-scan.l
+++ b/builder/index-scan.l
@@ -32,6 +32,7 @@ extern void yyerror (const char *);
%}
+%option nounput
%option noyywrap
%option yylineno
--
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