summaryrefslogtreecommitdiff
path: root/src/backend/tsearch
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-09-05 13:17:32 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-09-05 13:17:32 -0400
commita5cc4dab6d1d694f113912a2aca7012a95262f0b (patch)
tree73f084898fcefb8a93a10972721c0826fd2d6e0e /src/backend/tsearch
parent8febfd1855450f50f17419def41c2ea9bcf994d5 (diff)
downloadpostgresql-a5cc4dab6d1d694f113912a2aca7012a95262f0b.tar.gz
Yet more elimination of dead stores and useless initializations.
I'm not sure what tool Ranier was using, but the ones I contributed were found by using a newer version of scan-build than I tried before. Ranier Vilela and Tom Lane Discussion: https://postgr.es/m/CAEudQAo1+AcGppxDSg8k+zF4+Kv+eJyqzEDdbpDg58-=MQcerQ@mail.gmail.com
Diffstat (limited to 'src/backend/tsearch')
-rw-r--r--src/backend/tsearch/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tsearch/spell.c b/src/backend/tsearch/spell.c
index 49735bc06a..05d08cfc01 100644
--- a/src/backend/tsearch/spell.c
+++ b/src/backend/tsearch/spell.c
@@ -1710,7 +1710,7 @@ void
NISortDictionary(IspellDict *Conf)
{
int i;
- int naffix = 0;
+ int naffix;
int curaffix;
/* compress affixes */