diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-02-10 20:21:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-02-10 20:21:05 +0000 |
commit | 0a20c5dd913ee49a4faf9ed5d868e308949eb450 (patch) | |
tree | d5f629f875761c6dfd4d3965025422bd923af8e6 | |
parent | a22790ae51c66890f0f1784aef205622b190ad73 (diff) | |
download | wireshark-0a20c5dd913ee49a4faf9ed5d868e308949eb450.tar.gz |
Add %option noinput to some Flex files, as we aren't using the input()
routine and thus don't need to have it generated - and as it produces
warnings of a routine defined but not used, we don't want to have it
generated.
svn path=/trunk/; revision=47616
-rw-r--r-- | plugins/wimaxasncp/wimaxasncp_dict.l | 5 | ||||
-rw-r--r-- | text2pcap-scanner.l | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l index 9c55a79d97..b4c273368b 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.l +++ b/plugins/wimaxasncp/wimaxasncp_dict.l @@ -1,4 +1,9 @@ /* + * We don't use input, so don't generate code for it. + */ +%option noinput + +/* * We don't use unput, so don't generate code for it. */ %option nounput diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l index ca9926d135..59bc017217 100644 --- a/text2pcap-scanner.l +++ b/text2pcap-scanner.l @@ -1,6 +1,11 @@ /* -*-mode: flex-*- */ /* + * We don't use input, so don't generate code for it. + */ +%option noinput + +/* * We don't use unput, so don't generate code for it. */ %option nounput |