X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=test.cpp;h=2614c7f1dd78a5ae525c835a103c80e15ef57926;hp=6d783f7650781c9997d0feb8c02fa6401189d09f;hb=dac058107a33615a9279ed0ab73dadfc2fea5fd1;hpb=566e7615466c776fc296b67894621a85691cd42b diff --git a/test.cpp b/test.cpp index 6d783f7..2614c7f 100644 --- 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);