Re: Incorrect return clause in regression test positioned-update causing compilation error - Mailing list pgsql-odbc

From Heikki Linnakangas
Subject Re: Incorrect return clause in regression test positioned-update causing compilation error
Date
Msg-id 53186040.1080102@vmware.com
Whole thread Raw
In response to Incorrect return clause in regression test positioned-update causing compilation error  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-odbc
On 03/06/2014 09:46 AM, Michael Paquier wrote:
> Hi all,
>
> I found that the regression test positioned-update does not compile
> correctly on OSX because of a "return" used in main() instead of a
> plain exit().
> Patch attached fixes that.

Thanks, committed.

I wonder why other compilers haven't warned about that; the "return"
statement didn't return a value, even though the main() function was
declared to return an "int".

- Heikki


pgsql-odbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Ignore results/ when running regression tests
Next
From: Michael Paquier
Date:
Subject: Elimination of (more or less) all compilation warnings on OSX