Re: ecpg warning - Mailing list pgsql-patches

From Tom Lane
Subject Re: ecpg warning
Date
Msg-id 22444.1057097691@sss.pgh.pa.us
Whole thread Raw
In response to ecpg warning  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Michael, I am seeing this ecpg warning:
>     informix.c:290: warning: `nres' might be used uninitialized in
>     this function

> Can we initialize it to NULL to suppress the warning?

I believe the compiler has correctly identified a bug here; initializing
to NULL will just result in a guaranteed crash.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: sslmode patch
Next
From: sumit
Date:
Subject: Re: UPDATED Patch for adding DATACUBE operator