]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
For now
authorDale Weiler <weilercdale@gmail.com>
Fri, 30 Jan 2015 04:13:55 +0000 (23:13 -0500)
committerDale Weiler <weilercdale@gmail.com>
Fri, 30 Jan 2015 04:13:55 +0000 (23:13 -0500)
test.c

diff --git a/test.c b/test.c
index 4ffba6f38298110f38c5594a48c65cb0a9aa4af5..0e1a466074abf2440481890b55200f1cadf094f5 100644 (file)
--- a/test.c
+++ b/test.c
@@ -734,6 +734,8 @@ static bool task_propagate(const char *curdir, size_t *pad, const char *defs) {
                 const char      *qcflags = NULL;
                 task_t           task;
 
+                memset(&task, 0, sizeof(task));
+
                 found ++;
                 if (!tmpl) {
                     con_err("error compiling task template: %s\n", files->d_name);