fix compile warning in pg_id

Поиск
Список
Период
Сортировка
От Neil Conway
Тема fix compile warning in pg_id
Дата
Msg-id 20030807173016.GA38149@home.samurai.com
обсуждение исходный текст
Ответы Re: fix compile warning in pg_id
Re: fix compile warning in pg_id
Список 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


Вложения

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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: [JDBC] more bad markup -- jdbc.sgml
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Testing gateway