diff --git a/tools/mkclass/classcompiler.cpp b/tools/mkclass/classcompiler.cpp index af17c538d43..8df23486daa 100644 --- a/tools/mkclass/classcompiler.cpp +++ b/tools/mkclass/classcompiler.cpp @@ -151,9 +151,6 @@ static std::string FieldTypeToIcingaName(const Field& field, bool inner) if (field.Attributes & FAEnum) return "Number"; - if (ftype == "bool" || ftype == "int" || ftype == "double") - return "Number"; - if (ftype == "int" || ftype == "double") return "Number"; else if (ftype == "bool")