diff --git a/src/config.cpp b/src/config.cpp index 167679ecb..0275cb7f8 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -846,12 +846,6 @@ void Conf::LoadConf(File &file) if (b) Log(LOG_DEBUG) << "ln " << linenumber << " EOL: s='" << b->name << "' '" << itemname << "' set to '" << wordbuffer << "'"; - if (itemname.empty()) - { - file.Close(); - throw ConfigException("Item without a name: " + file.GetName() + ":" + stringify(linenumber)); - } - /* Check defines */ for (int i = 0; i < this->CountBlock("define"); ++i) {