6e4f7451b33b3aaeededd27d164f878b2b72a499 |
|
13-Jun-2014 |
Phil Carmody <phil@dovecot.fi> |
fts-lucene: Fix SnowballAnalyzer constructors
Coverity found the uninitialised pointers in the latter constructor (which
is never used - kill it?). In comparing the other constructor, the lack of
strdup() jumped out at me.
In fixing them both I migrated them to actual C++ initialisers, rather than
dumb assignments to uninitialised members. Also migrated to dovecot's i_*
functions. Also fixed indentation for the 3 functions touched.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |