summaryrefslogtreecommitdiff
path: root/lib/libkeynote/keynote-ver.l
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2017-08-28 17:07:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2017-08-28 17:07:20 +0000
commitbc94add5d93657c156dde29ad08146157a169973 (patch)
tree6b1a4c12e3425902330008cddfea88b4f1ef47d0 /lib/libkeynote/keynote-ver.l
parentb6967f5e1abecd800b2f5df81eeaf24d1bda189a (diff)
Add %option noinput to suppress an unused function warning.
Noticed by and OK ottot@
Diffstat (limited to 'lib/libkeynote/keynote-ver.l')
-rw-r--r--lib/libkeynote/keynote-ver.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkeynote/keynote-ver.l b/lib/libkeynote/keynote-ver.l
index 19ec8926ab4..768f88ef895 100644
--- a/lib/libkeynote/keynote-ver.l
+++ b/lib/libkeynote/keynote-ver.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: keynote-ver.l,v 1.19 2015/12/23 23:55:30 mmcc Exp $ */
+/* $OpenBSD: keynote-ver.l,v 1.20 2017/08/28 17:07:19 millert Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -40,7 +40,7 @@ litstring \"(((\\\n)|(\\.)|(\\\\)|([^\\\n\"]))*)\"
comment "#"[^\n]*
%s FIRSTPART MIDDLEPART SECONDPART KEYSTATE
%pointer
-%option noyywrap yylineno never-interactive
+%option noinput noyywrap yylineno never-interactive
%%
<MIDDLEPART>"=" {