diff --git a/src/cl65/main.c b/src/cl65/main.c index c07e93e81..e7b9d5344 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -462,6 +462,7 @@ static void ExecProgram (CmdDesc* Cmd) static void RemoveTempFiles (void) { unsigned I; + for (I = 0; I < RM.FileCount; ++I) { if (remove (RM.Files[I]) < 0) { Warning ("Cannot remove temporary file '%s': %s",