lldpad/lldpad-0.9.43-This-patch-fixes-a-warning-issued-when-building-the-.patch
2011-09-08 08:34:30 +02:00

34 lines
935 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 106310e4027e8cd86305d9948a2cf0f537d0781f Mon Sep 17 00:00:00 2001
From: Jens Osterkamp <jens@linux.vnet.ibm.com>
Date: Tue, 9 Aug 2011 21:41:35 -0700
Subject: [PATCH 21/29] This patch fixes a warning issued when building the
lexer generated file parse_cli.c:
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
parse_cli.c:2147: warning: input defined but not used
Signed-off-by: Jens Osterkamp <jens@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Petr Sabata <contyk@redhat.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.6