aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-12 14:39:36 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-12 14:39:36 -0500
commit8066743a8390b22cf515aaced0280ddb64b69cb1 (patch)
treef1cdea15c03afac0a1e4eb16c9d5cdff8e6f2aee /src
parent2c9bbe2736e2c45a7ee66448c5aa5f80549adc53 (diff)
downloadminetest-8066743a8390b22cf515aaced0280ddb64b69cb1.tar.gz
minetest-8066743a8390b22cf515aaced0280ddb64b69cb1.tar.bz2
minetest-8066743a8390b22cf515aaced0280ddb64b69cb1.zip
Settings: Fix invalid memory access when setting not found in working mem
Diffstat (limited to 'src')
-rw-r--r--src/settings.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index a8b15b6c2..2f515caba 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -254,7 +254,6 @@ bool Settings::updateConfigObject(std::istream &is, std::ostream &os,
printEntry(os, name, it->second, tab_depth);
was_modified = true;
} else {
- assert(it->second.group == NULL);
os << line << "\n";
if (event == SPE_MULTILINE)
os << value << "\n\"\"\"\n";