fix compile warning in pg_id

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: fix compile warning in pg_id
Date: 2003-08-07 17:30:16
Message-ID: 20030807173016.GA38149@home.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
compile-warning.patch text/plain 493 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Marc G. Fournier 2003-08-07 17:49:43 Testing gateway
Previous Message Barry Lind 2003-08-07 15:33:36 Re: more bad markup -- jdbc.sgml