[lldp-devel] [PATCH 1/8] fix compiler warning for parse_cli

Jens Osterkamp jens at linux.vnet.ibm.com
Fri Aug 5 15:35:37 UTC 2011


This patch fixes a warning issued when building the lexer generated file
parse_cli.c:

parse_cli.c:2147: warning: ‘input’ defined but not used

Signed-off-by: Jens Osterkamp <jens at linux.vnet.ibm.com>
---
 parse_cli.l |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/parse_cli.l b/parse_cli.l
index fd481bb..53dd83a 100644
--- a/parse_cli.l
+++ b/parse_cli.l
@@ -25,6 +25,7 @@
 *******************************************************************************/
 
 %option nounput
+%option noinput
 
 %{
 #include <string.h>
-- 
1.7.4.4




More information about the lldp-devel mailing list