aboutsummaryrefslogtreecommitdiff
path: root/source/session.d
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-06-03 22:14:28 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-06-03 22:14:28 -0400
commit1da5071d7296bb90865b020bdd71f06bb97c695a (patch)
tree5b460f1caf11ce6d43d462a673d3314498bd0702 /source/session.d
parent04c2a098b6a871201cc9c7b5b2ae6055230823c8 (diff)
downloaddm-1da5071d7296bb90865b020bdd71f06bb97c695a.tar.gz
Initialize TestExtended_t struct for each iteration
Diffstat (limited to 'source/session.d')
-rw-r--r--source/session.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/session.d b/source/session.d
index 277353f..b7e6cf2 100644
--- a/source/session.d
+++ b/source/session.d
@@ -154,10 +154,10 @@ Session_t getconf(string filename) {
}
if (root.containsKey("test_extended")) {
- TestExtended_t te;
data = root["test_extended"];
foreach (Node parent_1, Node child_1; data) {
+ TestExtended_t te;
te.name = parent_1.as!string;
if (child_1.containsKey("runtime")) {
foreach (Node parent_2, Node child_2; child_1["runtime"]) {