[hackers] [scc] Small spaces fixes in convert() || Roberto E. Vargas Caballero
commit 117a0d066fb288fc4cbe597c8839e18765330271
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Jan 8 17:50:14 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Jan 8 17:50:14 2016 +0100
Small spaces fixes in convert()
diff --git a/cc1/expr.c b/cc1/expr.c
index 0dd4da9..ccb9dae 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -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;
}
_AT_@ -299,7 +294,7 @@ convert(Node *np, Type *newtp, char iscast)
return NULL;
}
default:
- return NULL;
+ return NULL;
}
return castcode(np, newtp);
}
Received on Fri Jan 08 2016 - 17:51:14 CET
This archive was generated by hypermail 2.3.0
: Fri Jan 08 2016 - 18:00:28 CET