Make sure the 'autocomplete' variable is initialized

refs #7246
This commit is contained in:
Gunnar Beutner 2014-10-08 15:46:29 +02:00
parent 6b9f3beb14
commit 88742d6dca
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ bool CLICommand::ParseCommand(int argc, char **argv, po::options_description& de
{
boost::mutex::scoped_lock lock(l_RegistryMutex);
autocomplete = false;
typedef std::map<std::vector<String>, CLICommand::Ptr>::value_type CLIKeyValue;
std::vector<String> best_match;