From 8066743a8390b22cf515aaced0280ddb64b69cb1 Mon Sep 17 00:00:00 2001
From: kwolekr <kwolekr@minetest.net>
Date: Fri, 12 Dec 2014 14:39:36 -0500
Subject: [PATCH] Settings: Fix invalid memory access when setting not found in
 working mem

---
 src/settings.cpp | 1 -
 1 file changed, 1 deletion(-)

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";
-- 
GitLab