diff options
| author | Peter Eisentraut | 2008-05-09 15:36:31 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2008-05-09 15:36:31 +0000 |
| commit | d35c56ed9f26631d050463cd61a7bdd51b358fa6 (patch) | |
| tree | 49468a132e820a3f5e50cbce4ded06683a305083 /src/bin/psql | |
| parent | 6e3e60095dd4ad882d57468a25f4d76403100b33 (diff) | |
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.
Diffstat (limited to 'src/bin/psql')
| -rw-r--r-- | src/bin/psql/psqlscan.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index 07c31aa36a7..b5f1149cdc4 100644 --- a/src/bin/psql/psqlscan.l +++ b/src/bin/psql/psqlscan.l @@ -33,7 +33,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.24 2008/05/02 09:27:51 petere Exp $ + * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.25 2008/05/09 15:36:31 petere Exp $ * *------------------------------------------------------------------------- */ @@ -125,6 +125,7 @@ static void emit(const char *txt, int len); %option 8bit %option never-interactive %option nodefault +%option noinput %option nounput %option noyywrap |
