X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=test.cpp;fp=test.cpp;h=2614c7f1dd78a5ae525c835a103c80e15ef57926;hp=6d783f7650781c9997d0feb8c02fa6401189d09f;hb=1a18ff529420930cb4116484991c2dabe3a70654;hpb=ee3c1e43c9e70a856222516ab0f3a8231c1d073f 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);