diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-24 23:07:18 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-24 23:07:18 +0000 |
commit | 0df7f493f8ab5d9878e08ff0019b04be85954a7d (patch) | |
tree | 0fa137187834a5739c7945937e386b20f42095d4 /contrib/intarray | |
parent | 030d5bd9423fe90a6c858b04f0e837e4b54fdb33 (diff) | |
download | postgresql-0df7f493f8ab5d9878e08ff0019b04be85954a7d.tar.gz postgresql-0df7f493f8ab5d9878e08ff0019b04be85954a7d.zip |
Clean up possibly-uninitialized-variable warnings reported by gcc 4.x.
Diffstat (limited to 'contrib/intarray')
-rw-r--r-- | contrib/intarray/_int_bool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/intarray/_int_bool.c b/contrib/intarray/_int_bool.c index 06759c44e34..824dc5b6775 100644 --- a/contrib/intarray/_int_bool.c +++ b/contrib/intarray/_int_bool.c @@ -58,6 +58,8 @@ gettoken(WORKSTATE * state, int4 *val) char nnn[16], *curnnn; + *val = 0; /* default result */ + curnnn = nnn; while (1) { |