diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2009-01-16 12:09:30 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2009-01-16 12:09:30 +0000 |
commit | 473b40d23e5e1699672c3d7f21e36b8da5d355a5 (patch) | |
tree | 144856d2e5e6ffc40b156bcb83432e292f535c6d | |
parent | b7394a6e6e76606c777741d157e6098c63d3a169 (diff) |
Fix uninitialized variables in get_covers
-rw-r--r-- | contrib/tsearch2/rank.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tsearch2/rank.c b/contrib/tsearch2/rank.c index 53cf1bef15e..fc30eaaab8a 100644 --- a/contrib/tsearch2/rank.c +++ b/contrib/tsearch2/rank.c @@ -680,8 +680,8 @@ get_covers(PG_FUNCTION_ARGS) char *cptr; DocRepresentation *doc; int pos = 0, - p, - q, + p = 0, + q = 0, olddwpos = 0; int ncover = 1; |