ECPG warning - Mailing list pgsql-hackers

From Peter Eisentraut
Subject ECPG warning
Date
Msg-id Pine.LNX.4.30.0201081757550.725-100000@peter.localdomain
Whole thread Raw
Responses Re: ECPG warning
List pgsql-hackers
I'm getting a warning:

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wcast-align
-Wpointer-arith  -fpic -I../../../../src/interfaces/ecpg/include
-I../../../../src/interfaces/libpq -I../../../../src/include   -c -o
data.o data.c
data.c: In function `ECPGget_data':
data.c:96: warning: `res' might be used uninitialized in this function

The code looks pretty suspicious, 'res' and 'ures' might be getting mixed
up.  Check please.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: WAL FILES
Next
From: Bruce Momjian
Date:
Subject: Re: Feature Request: DROP ALL FROM DATABASE database_name