pgsql-server/src/bin/pg_id pg_id.c

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/bin/pg_id pg_id.c
Date: 2003-08-09 01:25:46
Message-ID: 20030809012546.F3FB7D1C932@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)svr1(dot)postgresql(dot)org 03/08/08 22:25:46

Modified files:
src/bin/pg_id : pg_id.c

Log message:
I get the following warning when I compile src/bin/pg_id/pg_id.c:

gcc -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/include -c -o pg_id.o pg_id.c -MMD
pg_id.c: In function `main':
pg_id.c:35: warning: unused variable `optarg'

The attached trivial patch fixes the warning by removing the variable.

Neil Conway

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-08-09 22:50:22 pgsql-server/doc/src/sgml array.sgml datatype. ...
Previous Message Bruce Momjian 2003-08-09 01:21:54 pgsql-server/src/bin/psql describe.c