diff options
| author | Tom Lane | 2005-09-24 23:07:18 +0000 |
|---|---|---|
| committer | Tom Lane | 2005-09-24 23:07:18 +0000 |
| commit | 0df7f493f8ab5d9878e08ff0019b04be85954a7d (patch) | |
| tree | 0fa137187834a5739c7945937e386b20f42095d4 /contrib/ltree | |
| parent | 030d5bd9423fe90a6c858b04f0e837e4b54fdb33 (diff) | |
Clean up possibly-uninitialized-variable warnings reported by gcc 4.x.
Diffstat (limited to 'contrib/ltree')
| -rw-r--r-- | contrib/ltree/ltxtquery_io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/ltree/ltxtquery_io.c b/contrib/ltree/ltxtquery_io.c index ade0c4c0332..1f72e719702 100644 --- a/contrib/ltree/ltxtquery_io.c +++ b/contrib/ltree/ltxtquery_io.c @@ -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) { |
