From: Magnus Jacobsson Date: Sat, 7 Nov 2020 14:26:14 +0000 (+0100) Subject: Remove 1 -Wunused-function warning in scan.l X-Git-Tag: 2.46.0~11^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d0e2448c032ccc8608726619707f4f84f8ce400;p=graphviz Remove 1 -Wunused-function warning in scan.l --- diff --git a/lib/cgraph/scan.l b/lib/cgraph/scan.l index b0af41b64..224eb93d8 100644 --- a/lib/cgraph/scan.l +++ b/lib/cgraph/scan.l @@ -20,6 +20,11 @@ */ %option prefix="aag" + /* Avoid generating an unused input function. See + https://westes.github.io/flex/manual/Scanner-Options.html + */ +%option noinput + %{ #include #include