[Crosstoolchain-logs] [device-tree-compiler] 313/357: dtc: Use noinput flex option for convert-dtsv0 to remove warning
    Hector Oron 
    zumbi at moszumanska.debian.org
       
    Thu Dec  8 17:06:27 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit 2f766233c2189481b4ee36c99410e559f1c9158c
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Fri Nov 7 11:45:48 2008 +1100
    dtc: Use noinput flex option for convert-dtsv0 to remove warning
    
    The convert-dtsv0 lexer doesn't use lex's input() macro/function.
    This can result in "defined but not used" warnings.  This patch uses
    flex's noinput option to prevent this warning (as we already do for
    dtc-lexer.l).
    
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 convert-dtsv0-lexer.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/convert-dtsv0-lexer.l b/convert-dtsv0-lexer.l
index 194f635..9e75085 100644
--- a/convert-dtsv0-lexer.l
+++ b/convert-dtsv0-lexer.l
@@ -17,7 +17,7 @@
  *                                                                   USA
  */
 
-%option noyywrap nounput
+%option noyywrap nounput noinput
 
 %x INCLUDE
 %x BYTESTRING
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
    
    
More information about the Crosstoolchain-logs
mailing list