Re: scan.c:900: warning: ... postgresql-7.1 - Mailing list pgsql-general

From Tom Lane
Subject Re: scan.c:900: warning: ... postgresql-7.1
Date
Msg-id 6460.987542624@sss.pgh.pa.us
Whole thread Raw
In response to Re: scan.c:900: warning: ... postgresql-7.1  (Limin Liu <limin@pumpkinnet.com>)
List pgsql-general
Limin Liu <limin@pumpkinnet.com> writes:
>> I get no such warning.  Have you regenerated scan.c locally, and if so

> No, I didn't.  I un-tar the postgresql-7.1.tar.gz again and the scan.c
> line 900 shows no initialization.

No, but it doesn't need to.  Both variables are assigned before first
use, as even an extremely stupid compiler should be able to figure out.

What compiler version are you using, and with what command-line switches?

            regards, tom lane

pgsql-general by date:

Previous
From: Limin Liu
Date:
Subject: Re: scan.c:900: warning: ... postgresql-7.1
Next
From: Christopher Masto
Date:
Subject: Inheritance and rules/triggers