Unused variables in hstore_to_jsonb

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Unused variables in hstore_to_jsonb
Date: 2015-01-13 07:34:36
Message-ID: CAB7nPqTar1F6sd-tbrBmW_Zm1d1H4nQrcQq-1c564TxLaK3EmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Coverity pointed out that hstore_to_jsonb in hstore_io.c does not use
a couple of return values from pushJsonbValue.
Attached is a patch to fix that.
Regards,
--
Michael

Attachment Content-Type Size
20150113_hstore_unused_vars.patch text/x-diff 1.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-01-13 07:39:10 Re: Unused variables in hstore_to_jsonb
Previous Message David G Johnston 2015-01-13 07:28:47 Re: Safe memory allocation functions