remove unused variable

This commit is contained in:
Ian Curtis 2017-04-11 11:11:45 +00:00
parent 76817790d4
commit e462fbeda0

View file

@ -186,7 +186,6 @@ void CTriggerInput::LoadFromConfig(const Util::Config::Node &config)
{ {
string key("Input"); string key("Input");
key.append(id); key.append(id);
unsigned autoTrigger;
auto *node = config.TryGet(key); auto *node = config.TryGet(key);
if (node) if (node)
m_autoTrigger = !!node->ValueAs<unsigned>(); m_autoTrigger = !!node->ValueAs<unsigned>();