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

index 21588fa089eb97330b5e4d46f0dd5abbbe339b32..b3f37ed119d510726f9608589048f984d326ce44 100644 (file)
@@ -6,6 +6,11 @@
    */
 %option prefix="gml"
 
+  /* Avoid generating an unused input function. See
+     https://westes.github.io/flex/manual/Scanner-Options.html
+   */
+%option noinput
+
 %{
 #include <stdlib.h>
 #include <gml2gv.h>