From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Don't initialize TLI variable to -1, as TimeLineID is unsigned.
Date: Sat, 14 Jul 2012 18:30:51 +0000
Message-ID: <E1Sq77D-0000zp-4q@gemulon.postgresql.org> (raw)
Don't initialize TLI variable to -1, as TimeLineID is unsigned.
This was causing a compiler warning with Solaris compiler. Use 0 instead.
The variable is initialized just for the sake of tidyness and/or debugging,
it's not used for anything before setting it to a real value.
Per report and suggestion from Peter Eisentraut.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/2686da9db2aec19763ff2dfe5c034da8fb5eb382
Modified Files
--------------
src/backend/replication/walreceiver.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi
Subject: Re: pgsql: Don't initialize TLI variable to -1, as TimeLineID is unsigned.
In-Reply-To: <E1Sq77D-0000zp-4q@gemulon.postgresql.org>
References: <E1Sq77D-0000zp-4q@gemulon.postgresql.org>
* 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