Merge branch 'master' into cleanup
[xonotic/gmqcc.git] / test.cpp
index 6d783f7..2614c7f 100644 (file)
--- a/test.cpp
+++ b/test.cpp
@@ -638,6 +638,8 @@ static bool task_propagate(const char *curdir, size_t *pad, const char *defs) {
                 const char      *qcflags = nullptr;
                 task_t           task;
 
+                memset(&task, 0, sizeof(task));
+
                 found ++;
                 if (!tmpl) {
                     con_err("error compiling task template: %s\n", files->d_name);