diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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) { |