1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

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.
This commit is contained in:
Andrew Dunstan
2014-01-29 18:54:14 -05:00
parent 5e52e9d6d4
commit 120c5cc761

View File

@ -1283,8 +1283,8 @@ populate_record_worker(PG_FUNCTION_ARGS, bool have_record_arg)
bool use_json_as_text;
HTAB *json_hash;
HeapTupleHeader rec = NULL;
Oid tupType;
int32 tupTypmod;
Oid tupType = InvalidOid;
int32 tupTypmod = -1;
TupleDesc tupdesc;
HeapTupleData tuple;
HeapTuple rettuple;