Suppress uninitialized-variable warning from less-bright compilers.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d61f1a93271b859938b6cdb301a367cdb8abf81c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-02-27T23:19:22Z
Releases: 9.5.0
Suppress uninitialized-variable warning from less-bright compilers.

The type variable must get set on first iteration of the while loop,
but there are reasonably modern gcc versions that don't realize that.
Initialize it with a dummy value.  This undoes a removal of initialization
in commit 654809e770ce270c0bb9de726c5df1ab193d60f0.

Files

PathChange+/−
src/backend/utils/adt/jsonb.c modified +1 −1