build: Go home, -fanalyze, you're confused.
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 15m38s
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 15m38s
This commit is contained in:
parent
d3c465391c
commit
e971c6fcb7
@ -1323,7 +1323,7 @@ static int _tf_run_task(const tf_run_args_t* args, int index)
|
||||
const char* script = args->script;
|
||||
if (!script && cwd)
|
||||
{
|
||||
size_t script_size = strlen(cwd) + strlen("/core/core.js") + 1;
|
||||
size_t script_size = (cwd ? strlen(cwd) : 0) + strlen("/core/core.js") + 1;
|
||||
char* script_buffer = alloca(script_size);
|
||||
snprintf(script_buffer, script_size, "%s/core/core.js", cwd);
|
||||
script = script_buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user