diff options
Diffstat (limited to 'contrib/tsearch2/query.c')
-rw-r--r-- | contrib/tsearch2/query.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c index db45de56be1..96812729256 100644 --- a/contrib/tsearch2/query.c +++ b/contrib/tsearch2/query.c @@ -317,13 +317,13 @@ pushval_morph(QPRS_STATE * state, int typeval, char *strval, int lenval, int2 we static int4 makepol(QPRS_STATE * state, void (*pushval) (QPRS_STATE *, int, char *, int, int2)) { - int4 val, + int4 val = 0, type; - int4 lenval; - char *strval; + int4 lenval = 0; + char *strval = NULL; int4 stack[STACKDEPTH]; int4 lenstack = 0; - int2 weight; + int2 weight = 0; while ((type = gettoken_query(state, &val, &lenval, &strval, &weight)) != END) { |