mirror of https://github.com/kiwix/libkiwix.git
Correctly initialize retVal.
This commit is contained in:
parent
a98594c084
commit
b996a2877c
|
@ -762,7 +762,7 @@ bool Reader::searchSuggestionsSmart(const string& prefix,
|
|||
unsigned int suggestionsCount)
|
||||
{
|
||||
std::vector<std::string> variants = this->getTitleVariants(prefix);
|
||||
bool retVal;
|
||||
bool retVal = false;
|
||||
|
||||
this->suggestions.clear();
|
||||
this->suggestionsOffset = this->suggestions.begin();
|
||||
|
|
Loading…
Reference in New Issue