fix compile warning in pg_id - Mailing list pgsql-patches

From Neil Conway
Subject fix compile warning in pg_id
Date
Msg-id 20030807173016.GA38149@home.samurai.com
Whole thread Raw
Responses Re: fix compile warning in pg_id
Re: fix compile warning in pg_id
List pgsql-patches
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


Attachment

pgsql-patches by date:

Previous
From: Barry Lind
Date:
Subject: Re: [JDBC] more bad markup -- jdbc.sgml
Next
From: "Marc G. Fournier"
Date:
Subject: Testing gateway