Settings: Fix invalid memory access when setting not found in working mem

This commit is contained in:
kwolekr 2014-12-12 14:39:36 -05:00
parent 2c9bbe2736
commit 8066743a83
1 changed files with 0 additions and 1 deletions

View File

@ -254,7 +254,6 @@ bool Settings::updateConfigObject(std::istream &is, std::ostream &os,
printEntry(os, name, it->second, tab_depth); printEntry(os, name, it->second, tab_depth);
was_modified = true; was_modified = true;
} else { } else {
assert(it->second.group == NULL);
os << line << "\n"; os << line << "\n";
if (event == SPE_MULTILINE) if (event == SPE_MULTILINE)
os << value << "\n\"\"\"\n"; os << value << "\n\"\"\"\n";