Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26e6c89

Browse files
committed
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.
1 parent8b4da40 commit26e6c89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/tsvector_op.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.18 2008/11/17 12:17:09 teodor Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.19 2008/11/19 10:23:21 teodor Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -812,7 +812,7 @@ insertStatEntry(MemoryContext persistentContext, TSVectorStat *stat, TSVector tx
812812
StatEntry*node=stat->root,
813813
*pnode=NULL;
814814
intn,
815-
res;
815+
res=0;
816816
uint32depth=1;
817817

818818
if (stat->weight==0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp