Re: Incorrect return clause in regression test positioned-update causing compilation error

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Incorrect return clause in regression test positioned-update causing compilation error
Date: 2014-03-06 11:47:12
Message-ID: 53186040.1080102@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2014-03-06 13:10:32 Elimination of (more or less) all compilation warnings on OSX
Previous Message Heikki Linnakangas 2014-03-06 11:46:18 Re: Ignore results/ when running regression tests