pgsql: Silence compiler warning about variable being used uninitialized

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Silence compiler warning about variable being used uninitialized
Date: 2014-11-20 17:19:02
Message-ID: E1XrVNm-0008D6-7K@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Silence compiler warning about variable being used uninitialized.

It's a false positive - the variable is only used when 'onleft' is true,
and it is initialized in that case. But the compiler doesn't necessarily
see that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f464042161fb980578c33fedc2742c5a4d941fa2

Modified Files
--------------
src/backend/access/nbtree/nbtxlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-11-20 17:19:15 Re: pgsql: Revamp the WAL record format.
Previous Message Tom Lane 2014-11-20 17:12:35 Re: pgsql: Revamp the WAL record format.