Re: Record comparison compiler warning - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Record comparison compiler warning
Date
Msg-id 20131016195123.GE18048@momjian.us
Whole thread Raw
In response to Re: Record comparison compiler warning  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: Record comparison compiler warning  (Kevin Grittner <kgrittn@ymail.com>)
List pgsql-hackers
On Wed, Oct 16, 2013 at 11:49:13AM -0700, Kevin Grittner wrote:
> Bruce Momjian <bruce@momjian.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:

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: removing old ports and architectures
Next
From: Andres Freund
Date:
Subject: Re: removing old ports and architectures