projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a32ca
)
Fix uninitialized variables in get_covers
author
Teodor Sigaev
<
[email protected]
>
Fri, 16 Jan 2009 12:08:13 +0000
(12:08 +0000)
committer
Teodor Sigaev
<
[email protected]
>
Fri, 16 Jan 2009 12:08:13 +0000
(12:08 +0000)
contrib/tsearch2/rank.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tsearch2/rank.c
b/contrib/tsearch2/rank.c
index 760fe11e444779f42fa8e9dece1fb3c28902e528..b3316b0f55a80d23094f0884605052e6ecf6a47a 100644
(file)
--- a/
contrib/tsearch2/rank.c
+++ b/
contrib/tsearch2/rank.c
@@
-710,8
+710,8
@@
get_covers(PG_FUNCTION_ARGS)
char *cptr;
DocRepresentation *doc;
int pos = 0,
- p,
- q,
+ p
= 0
,
+ q
= 0
,
olddwpos = 0;
int ncover = 1;