Re: fix compile warning in pg_id

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fix compile warning in pg_id
Дата
Msg-id 200308090125.h791PqB22254@candle.pha.pa.us
обсуждение исходный текст
Ответ на fix compile warning in pg_id  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Patch applied.  Thanks.

---------------------------------------------------------------------------


Neil Conway wrote:
> 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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: psql \d should use pg_get_viewdef (oid, true)
Следующее
От: Neil Conway
Дата:
Сообщение: fix CLOSE ref page