Re: [HACKERS] Compilation warning with MSVC in pg_depend.c - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Compilation warning with MSVC in pg_depend.c
Date
Msg-id 636501f0-7578-24a8-271d-b5e148bfa24c@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] Compilation warning with MSVC in pg_depend.c  (Michael Paquier <michael.paquier@gmail.com>)
List 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 by date:

Previous
From: Claudio Freire
Date:
Subject: Re: [HACKERS] Making clausesel.c Smarter
Next
From: Andres Freund
Date:
Subject: [HACKERS] mvstats triggers 32bit warnings