Re: Few new warnings have been introduced in windows build (jsonb_util.c)

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Few new warnings have been introduced in windows build (jsonb_util.c)
Date: 2014-03-27 09:00:12
Message-ID: 5333E89C.4070203@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03/27/2014 06:35 AM, Amit Kapila wrote:
> Few new warnings have been introduced in windows build.
>
>
> 1>e:\workspace\postgresql\master\postgresql\src\backend\utils\adt\jsonb_util.c(802):
> warning C4715: 'JsonbIteratorNext' : not all control paths return a
> value
> 1>e:\workspace\postgresql\master\postgresql\src\backend\utils\adt\jsonb_util.c(1042):
> warning C4715: 'JsonbDeepContains' : not all control paths return a
> value
> 1>e:\workspace\postgresql\master\postgresql\src\backend\utils\adt\jsonb_util.c(1175):
> warning C4715: 'compareJsonbScalarValue' : not all control paths
> return a value
>
> These are quite similar to what we have fixed some time back.
> Attached patch fixes these warnings. I am not sure about
> fix of warning in 'JsonbIteratorNext', as there is no invalid value
> for JSONB processing.

Thanks, applied.

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2014-03-27 09:02:20 Re: Useless "Replica Identity: NOTHING" noise from psql \d
Previous Message Etsuro Fujita 2014-03-27 08:55:41 Re: inherit support for foreign tables