Fix incorrect variable type in the FilterArrayToInt function

refs #12509
This commit is contained in:
Gunnar Beutner 2016-08-27 12:23:09 +02:00
parent 27a23fcff6
commit 8f2477db46
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ void CustomVarObject::ValidateVars(const Dictionary::Ptr& value, const Validatio
int icinga::FilterArrayToInt(const Array::Ptr& typeFilters, const std::map<String, int>& filterMap, int defaultValue)
{
Value resultTypeFilter;
int resultTypeFilter;
if (!typeFilters)
return defaultValue;