projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0408ba
)
Fix uninitialized variables in get_covers
author
Teodor Sigaev
<teodor@sigaev.ru>
Fri, 16 Jan 2009 12:10:34 +0000
(12:10 +0000)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Fri, 16 Jan 2009 12:10:34 +0000
(12:10 +0000)
contrib/tsearch2/rank.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tsearch2/rank.c
b/contrib/tsearch2/rank.c
index 9098cc9ed6002134f95691c14f4f82b9b9ea8b5f..8b8d51813848dc03ff1b0d1330399c1d00f19b55 100644
(file)
--- a/
contrib/tsearch2/rank.c
+++ b/
contrib/tsearch2/rank.c
@@
-678,8
+678,8
@@
get_covers(PG_FUNCTION_ARGS)
char *cptr;
DocRepresentation *doc;
int pos = 0,
- p,
- q,
+ p
= 0
,
+ q
= 0
,
olddwpos = 0;
int ncover = 1;