Re: more compile warnings - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: more compile warnings
Date
Msg-id 200212070357.gB73vvs17046@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
Rod, can you comment on these warnings Joe Conway's compiler is showing?
I don't see the warnings with gcc, but clearly they look like problems.

I can just assign a NULL on definition, but I thought you should take a
look.

---------------------------------------------------------------------------

Joe Conway wrote:
> Hi Bruce,
> 
> I just sync'd up/make clean/make all and get this:
> 
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations 
> -I../../../src/include   -c -o typecmds.o typecmds.c -MMD
> typecmds.c: In function `AlterDomainAddConstraint':
> typecmds.c:1237: warning: `ccbin' might be used uninitialized in this function
> typecmds.c: In function `get_rels_with_domain':
> typecmds.c:1450: warning: `rtc' might be used uninitialized in this function

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Horacio Miranda
Date:
Subject: about store Large file.
Next
From: Bruce Momjian
Date:
Subject: Re: IPv6 patch rejected