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

Commita90b2a0

Browse files
committed
Suppress 'uninitialized variable' warning emitted by some (not all)
versions of gcc. The code is correct AFAICS, but it requires slightlymore analysis than usual to see that the variable can't be used uninitialized.
1 parentd1eb9fe commita90b2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/tsearch2/ispell/spell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ CopyVar(SplitVar *s, int makedup) {
791791
staticSplitVar*
792792
SplitToVariants(IspellDict*Conf,SPNode*snode,SplitVar*orig,char*word,intwordlen,intstartpos,intminpos ) {
793793
SplitVar*var=NULL;
794-
SPNodeData*StopLow,*StopHigh,*StopMiddle;
794+
SPNodeData*StopLow,*StopHigh,*StopMiddle=NULL;
795795
SPNode*node= (snode) ?snode :Conf->Dictionary;
796796
intlevel=(snode) ?minpos :startpos;/* recursive minpos==level*/
797797
intlenaff;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp