1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-12-22 15:31:23 +00:00

Don't report error deleting the object file on error.

Most likely the file doesn't exist.
This commit is contained in:
Piotr Fusik 2020-05-21 19:38:49 +02:00
parent 647cf9f3cf
commit d3908ec95e

View File

@ -2965,7 +2965,7 @@ int main(string[] args) {
warning(e.msg, true);
exitCode = 2;
objectStream.close();
remove(objectFilename);
core.stdc.stdio.remove(toStringz(objectFilename));
}
listingStream.close();
objectStream.close();