
27 Jul
2018
27 Jul
'18
11:24 a.m.
On Fri, Jul 27, 2018 at 5:16 PM, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
gd->ram_top is assigned to twice on consecutive lines and the compiler won't be able to tell that the first assignment is dead (including its r-value) due to the r-value containing a (side-effect free) function call.
This drops the first assignment.
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
common/board_f.c | 1 - 1 file changed, 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com