diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-02-10 19:13:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-02-10 19:13:07 +0000 |
commit | ebacca89a79f3d08d1cc63fdc1a77bdd37c20477 (patch) | |
tree | 517e4b2d4d4d29eda2f4cf3352a67d328bc8958b /epan/dtd_preparse.l | |
parent | 19ffe7eb4ca47c378ff1df0df3e5025df6d14f35 (diff) |
Add %option noinput to a bunch of 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.
Squelch a casting-const-away warning.
svn path=/trunk/; revision=47613
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r-- | epan/dtd_preparse.l | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index 43f82d73f5..4265538ded 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.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 |