[Crosstoolchain-logs] [device-tree-compiler] 295/357: dtc: Remove unused lexer function

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:06:25 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 a1db0749fdb270f57fc3ef8f868700e6b3b5c0dd
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Tue Jul 29 14:51:36 2008 +1000

    dtc: Remove unused lexer function
    
    dtc does not use the input() function in flex.  Apparently on some gcc
    versions the unused function will cause warnings.  Therefore, this
    patch removes the function by using the 'noinput' option to flex.
    
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 dtc-lexer.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtc-lexer.l b/dtc-lexer.l
index 44dbfd3..6f8b7dd 100644
--- a/dtc-lexer.l
+++ b/dtc-lexer.l
@@ -18,7 +18,7 @@
  *                                                                   USA
  */
 
-%option noyywrap nounput yylineno
+%option noyywrap nounput noinput yylineno
 
 %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