scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 117a0d066fb288fc4cbe597c8839e18765330271
parent d142f56db7f355c907d9bf6522b229d174c239e2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri,  8 Jan 2016 17:50:14 +0100

Small spaces fixes in convert()

Diffstat:
cc1/expr.c | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/cc1/expr.c b/cc1/expr.c @@ -287,11 +287,6 @@ convert(Node *np, Type *newtp, char iscast) 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 @@ convert(Node *np, Type *newtp, char iscast) return NULL; } default: - return NULL; + return NULL; } return castcode(np, newtp); }