shithub: scc

Download patch

ref: f1d2a5c200bbde707b6a7b39efd353fec1ac5fb3
parent: 2d5d14c78efc2e846236216ac267831db108bdc8
author: Quentin Rameau <quinq@fifth.space>
date: Thu Jun 16 13:17:16 EDT 2016

[cc1] remove unecessary value assignment to failure

--- a/cc1/error.c
+++ b/cc1/error.c
@@ -24,10 +24,8 @@
 	putc('\n', stderr);
 
 	if (flag < 0) {
-		if (!failure) {
-			failure = 1;
+		if (!failure)
 			fclose(stdout);
-		}
 		failure = 1;
 		if (++nerrors == MAXERRNUM) {
 			fputs("too many errors\n", stderr);