pgsql: Silence compiler warnings about possibly unset variables. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Silence compiler warnings about possibly unset variables.
Date
Msg-id E1W8f0c-0005Wr-I6@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Add json_array_elements_text function.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix unsafe references to errno within error messaging logic.