mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #193 from kiwix/fix_uninitalized
Correctly initialize retVal.
This commit is contained in:
commit
ecb2a80baf
|
@ -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