Re: Record comparison compiler warning

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Kevin Grittner <kgrittn(at)ymail(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Record comparison compiler warning
Date: 2013-11-02 09:10:32
Message-ID: 5274C188.5080608@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/31/2013 07:51 PM, Kevin Grittner wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>> On Wed, Oct 16, 2013 at 11:49:13AM -0700, Kevin Grittner wrote:
>
>>> Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>>>
>>>> I am seeing this compiler warning in git head:
>>>>
>>>> rowtypes.c: In function 'record_image_cmp':
>>>> rowtypes.c:1433: warning: 'cmpresult' may be used
>>>> uninitialized in this function rowtypes.c:1433: note: 'cmpresult' was declared here
>>>
>>> I had not gotten a warning under either gcc or clang, but that was
>>> probably because I was doing assert-enabled builds, and the
>>> Assert(false) saved me. That seemed a little marginal anyway, so
>>> how about this?:
>>
>> Would you please send the file as ASCII, e.g. not:
>>
>> <A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0> default:
>
> Huh, I did not see anything remotely like that in my email or in
> the archives:
>
> http://www.postgresql.org/message-id/1381949353.78943.YahooMailNeo@web162902.mail.bf1.yahoo.com

http://www.postgresql.org/message-id/raw/1381949353(dot)78943(dot)YahooMailNeo(at)web162902(dot)mail(dot)bf1(dot)yahoo(dot)com

Stefan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2013-11-02 10:07:44 Re: Fast insertion indexes: why no developments
Previous Message Peter Eisentraut 2013-11-02 03:45:06 Re: dsm use of uint64