]> granicus.if.org Git - graphviz/commitdiff
Remove 1 -Wunused-function warning in scan.l
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 7 Nov 2020 14:26:14 +0000 (15:26 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 21 Nov 2020 08:17:09 +0000 (09:17 +0100)
lib/cgraph/scan.l

index b0af41b64315db3b531884b22bdc828068e7ae08..224eb93d8b895e4e613374eed98e398229541d94 100644 (file)
    */
 %option prefix="aag"
 
+  /* Avoid generating an unused input function. See
+     https://westes.github.io/flex/manual/Scanner-Options.html
+   */
+%option noinput
+
 %{
 #include <grammar.h>
 #include <cghdr.h>