ECPG warning

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>
Subject: ECPG warning
Date: 2002-01-08 22:59:23
Message-ID: Pine.LNX.4.30.0201081757550.725-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-01-08 23:10:40 Re: WAL FILES
Previous Message Peter Eisentraut 2002-01-08 22:57:43 Re: VPATH builds fail