Commit 120c5cc7 authored by Andrew Dunstan's avatar Andrew Dunstan

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.
parent 5e52e9d6
...@@ -1283,8 +1283,8 @@ populate_record_worker(PG_FUNCTION_ARGS, bool have_record_arg) ...@@ -1283,8 +1283,8 @@ populate_record_worker(PG_FUNCTION_ARGS, bool have_record_arg)
bool use_json_as_text; bool use_json_as_text;
HTAB *json_hash; HTAB *json_hash;
HeapTupleHeader rec = NULL; HeapTupleHeader rec = NULL;
Oid tupType; Oid tupType = InvalidOid;
int32 tupTypmod; int32 tupTypmod = -1;
TupleDesc tupdesc; TupleDesc tupdesc;
HeapTupleData tuple; HeapTupleData tuple;
HeapTuple rettuple; HeapTuple rettuple;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment