fix seg fault in optimised builds

This commit is contained in:
William Bell
2025-08-29 13:42:21 +01:00
parent c01dee80b0
commit 4fc28d3b76

View File

@@ -463,7 +463,7 @@ int main(int argc, char *argv[]) {
char path[FILENAME_MAX];
cwk_path_get_absolute(CWD, path_non_absolute, path, sizeof(path));
free(CWD);
ArErr err;
ArErr err=no_err;
Translated translated = load_argon_file(path, &err);
if (err.exists) {
output_err(err);