mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix compiler warning "res may be used uninitialized in this function".
Actually, it can't but some compilers are not smart enough. Per Peter Eisentraut gripe.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.18 2008/11/17 12:17:09 teodor Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.19 2008/11/19 10:23:21 teodor Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -812,7 +812,7 @@ insertStatEntry(MemoryContext persistentContext, TSVectorStat *stat, TSVector tx
|
|||||||
StatEntry *node = stat->root,
|
StatEntry *node = stat->root,
|
||||||
*pnode=NULL;
|
*pnode=NULL;
|
||||||
int n,
|
int n,
|
||||||
res;
|
res = 0;
|
||||||
uint32 depth=1;
|
uint32 depth=1;
|
||||||
|
|
||||||
if (stat->weight == 0)
|
if (stat->weight == 0)
|
||||||
|
Reference in New Issue
Block a user