From d35c56ed9f26631d050463cd61a7bdd51b358fa6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 9 May 2008 15:36:31 +0000 Subject: Add "%option noinput" to the scanners to avoid compiler warnings. GCC 4.3 began to realize that the input() function isn't used and printed warnings. --- src/backend/utils/misc/guc-file.l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/utils/misc/guc-file.l') diff --git a/src/backend/utils/misc/guc-file.l b/src/backend/utils/misc/guc-file.l index 8380b4fa62a..3a1ee2db4ec 100644 --- a/src/backend/utils/misc/guc-file.l +++ b/src/backend/utils/misc/guc-file.l @@ -4,7 +4,7 @@ * * Copyright (c) 2000-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.54 2008/05/04 21:13:35 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.55 2008/05/09 15:36:31 petere Exp $ */ %{ @@ -59,6 +59,7 @@ static char *GUC_scanstr(const char *s); %option 8bit %option never-interactive %option nodefault +%option noinput %option nounput %option noyywrap %option prefix="GUC_yy" -- cgit v1.2.3