diff --git a/src/reader.cpp b/src/reader.cpp index abe704de6..e7fc6a926 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -762,7 +762,7 @@ bool Reader::searchSuggestionsSmart(const string& prefix, unsigned int suggestionsCount) { std::vector variants = this->getTitleVariants(prefix); - bool retVal; + bool retVal = false; this->suggestions.clear(); this->suggestionsOffset = this->suggestions.begin();