mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-04-21 12:27:27 +03:00
m1/perf/main.c: exit immediately on compilation error
This commit is contained in:
@@ -54,7 +54,8 @@ int main(int argc, char **argv)
|
||||
fclose(file);
|
||||
|
||||
for (i = 0; i != loops; i++)
|
||||
patch_compile(buf, report);
|
||||
if (!patch_compile(buf, report))
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user