Re: [HACKERS] Compilation warning with MSVC in pg_depend.c

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Compilation warning with MSVC in pg_depend.c
Дата
Msg-id 636501f0-7578-24a8-271d-b5e148bfa24c@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] Compilation warning with MSVC in pg_depend.c  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 4/6/17 23:03, Michael Paquier wrote:
> Hi all,
> 
> I am getting the following warning with MSVC 2010 for what is a result
> of 3217327 (identity columns):
>   c:\users\michael\git\postgres\src\backend\catalog\pg_depend.c(615):
> warning C4715: 'getOwnedSequence' : not all control paths return a
> value [C:\Users\michael\git\postgres\postgres.vcxproj]
> 
> I agree that this compiler is dumb after looking at the code, but
> could it be possible to silence this warning with something like the
> attached?

fixed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: [HACKERS] Making clausesel.c Smarter
Следующее
От: Andres Freund
Дата:
Сообщение: [HACKERS] mvstats triggers 32bit warnings