diff options
Diffstat (limited to 'SwifTools')
-rw-r--r-- | SwifTools/HunspellChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/HunspellChecker.cpp b/SwifTools/HunspellChecker.cpp index ecd352e..e9bc558 100644 --- a/SwifTools/HunspellChecker.cpp +++ b/SwifTools/HunspellChecker.cpp @@ -26,7 +26,7 @@ bool HunspellChecker::isCorrect(const std::string& word) { } void HunspellChecker::getSuggestions(const std::string& word, std::vector<std::string>& list) { - char **suggestList; + char **suggestList = NULL; int words_returned; if (!word.empty()) { words_returned = speller_->suggest(&suggestList, word.c_str()); |