diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-06-03 22:14:28 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-06-03 22:14:28 -0400 |
commit | 1da5071d7296bb90865b020bdd71f06bb97c695a (patch) | |
tree | 5b460f1caf11ce6d43d462a673d3314498bd0702 | |
parent | 04c2a098b6a871201cc9c7b5b2ae6055230823c8 (diff) | |
download | dm-1da5071d7296bb90865b020bdd71f06bb97c695a.tar.gz |
Initialize TestExtended_t struct for each iteration
-rw-r--r-- | source/session.d | 2 |
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"]) { |