1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Remove a boatload of useless definitions of 'int optreset'. If we

are using our own ports of getopt or getopt_long, those will define
the variable for themselves; and if not, we don't need these, because
we never touch the variable anyway.
This commit is contained in:
Tom Lane
2009-04-05 04:19:59 +00:00
parent 2227e2f16d
commit 27fbfd396c
11 changed files with 13 additions and 47 deletions

View File

@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.532 2009/04/01 18:54:27 tgl Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.533 2009/04/05 04:19:58 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -30,10 +30,6 @@
#include "getopt_long.h"
#ifndef HAVE_INT_OPTRESET
int optreset;
#endif
#include "access/attnum.h"
#include "access/sysattr.h"
#include "catalog/pg_cast.h"