shithub: scc

Download patch

ref: 6f385b9586ba41aa1d8ba52622bd4792c36453f6
parent: 3cf019b73b85b299a440079026905b0fecbe82ff
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Sep 2 18:36:14 EDT 2015

Simplify decay()

Two lines less ;)

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -106,12 +106,10 @@
 			return new;
 		}
 	case FTN:
-		break;
+		np = node(OADDR, mktype(tp, PTR, 0, NULL), np, NULL);
 	default:
 		return np;
 	}
-
-	return node(OADDR, mktype(tp, PTR, 0, NULL), np, NULL);
 }
 
 Node *