shithub: scc

Download patch

ref: 117a0d066fb288fc4cbe597c8839e18765330271
parent: d142f56db7f355c907d9bf6522b229d174c239e2
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Jan 8 12:50:14 EST 2016

Small spaces fixes in convert()

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -287,11 +287,6 @@
 		case PTR:
 			if (iscast ||
 			    newtp == pvoidtype || oldtp == pvoidtype) {
-				/* TODO:
-				 * we assume conversion between pointers
-				 * do not need any operation, but due to
-				 * alignment problems that may be false
-				 */
 				np->type = newtp;
 				return np;
 			}
@@ -299,7 +294,7 @@
 			return NULL;
 		}
 	default:
-			return NULL;
+		return NULL;
 	}
 	return castcode(np, newtp);
 }