pgsql: Silence compiler warnings about possibly unset variables.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Silence compiler warnings about possibly unset variables.
Date: 2014-01-29 23:57:30
Message-ID: E1W8f0c-0005Wr-I6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Silence compiler warnings about possibly unset variables.

They are in fact set in every case where they are needed, but the
compiler doesn't know that.

Per gripe from Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/120c5cc761e0d99a9a2f3349f4031850b0dbd5a0

Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-01-30 01:05:06 pgsql: Fix unsafe references to errno within error messaging logic.
Previous Message Tom Lane 2014-01-29 23:39:19 Re: pgsql: Add json_array_elements_text function.