1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Clean up possibly-uninitialized-variable warnings reported by gcc 4.x.

This commit is contained in:
Tom Lane
2005-09-24 23:07:18 +00:00
parent 030d5bd942
commit 0df7f493f8
3 changed files with 10 additions and 8 deletions

View File

@ -197,13 +197,13 @@ pushval_asis(QPRS_STATE * state, int type, char *strval, int lenval, uint16 flag
static int4
makepol(QPRS_STATE * state)
{
int4 val,
int4 val = 0,
type;
int4 lenval;
char *strval;
int4 lenval = 0;
char *strval = NULL;
int4 stack[STACKDEPTH];
int4 lenstack = 0;
uint16 flag;
uint16 flag = 0;
while ((type = gettoken_query(state, &val, &lenval, &strval, &flag)) != END)
{