Re: Warning in views.c

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Warning in views.c
Дата
Msg-id CA+TgmoZhZMKmuxQni3JYEZT-jEHxbzNxgg_KQ_i6AAsi9c7ADg@mail.gmail.com
обсуждение исходный текст
Ответ на Warning in views.c  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Mon, Jan 16, 2012 at 3:47 PM, Magnus Hagander <magnus@hagander.net> wrote:
> Seem 1575fbcb caused this warning:
>
> view.c: In function ‘DefineVirtualRelation’:
> view.c:105:6: warning: variable ‘namespaceId’ set but not used
> [-Wunused-but-set-variable]
>
> Attached seems to be the easy fix - or am I missing something obvious?

No, I think you nailed it.  There is some more refactoring that should
be done there, I think, but until it is, we don't need that return
value for anything...

Thanks for fixing it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Inline Extension
Следующее
От: Robert Haas
Дата:
Сообщение: Re: controlling the location of server-side SSL files