From b996a2877c0082299f5934b73d462cca8b14cf34 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 23 Jan 2019 11:51:30 +0100 Subject: [PATCH] Correctly initialize retVal. --- src/reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();