pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Incorrect return clause in regression test positioned-update causing compilation error
Date: Thu, 06 Mar 2014 13:47:12 +0200
Message-ID: <53186040.1080102@vmware.com> (raw)
In-Reply-To: <CAB7nPqSvFKu4LxgHTVTCnQdQ1V3s1f53Fb1=zT-BzQyohtzO4g@mail.gmail.com>
References: <CAB7nPqSvFKu4LxgHTVTCnQdQ1V3s1f53Fb1=zT-BzQyohtzO4g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (2+ messages)

Message-ID: <53186040.1080102@vmware.com>
Permalink:  ../53186040.1080102@vmware.com/
Also on:    postgresql.org/message-id/53186040.1080102@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, michael.paquier@gmail.com
  Subject: Re: Incorrect return clause in regression test positioned-update causing compilation error
  In-Reply-To: <53186040.1080102@vmware.com>
  References: <CAB7nPqSvFKu4LxgHTVTCnQdQ1V3s1f53Fb1=zT-BzQyohtzO4g@mail.gmail.com> <53186040.1080102@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox