shithub: scc

Download patch

ref: fb52401a1d119fd02590755c6fd5173ac65210b2
parent: 42169001b7912263fc77b4cbc8781b1f54ab62ce
author: Hiltjo Posthuma <[email protected]>
date: Fri Jul 17 17:31:41 EDT 2015

getdefs: remove statement with no effect

--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -296,10 +296,8 @@
 		memcpy(bp, yytext, len);
 		bp += len;
 		bufsiz -= len;
-		if ((prevc = yytoken) != '#') {
-			bufsiz;
+		if ((prevc = yytoken) != '#')
 			*bp++ = ' ';
-		}
 		next();
 	}
 	*bp = '\0';