shithub: rgbds

Download patch

ref: 573011a99ecd6e00959d89dc5ffd5c0095c55848
parent: d778b8e71c293ef624d53e216ac028abdbd1d590
author: karas <29292618+gy741@users.noreply.github.com>
date: Fri Aug 17 14:49:19 EDT 2018

Remove dead code

Fixed: #301

Signed-off-by: GwanYeong Kim <gy741.kim@gmail.com>

--- a/src/asm/fstack.c
+++ b/src/asm/fstack.c
@@ -185,7 +185,6 @@
 	pLastFile = pFileStack;
 
 	if (pLastFile != NULL) {
-		ppLastFile = &pFileStack;
 		while (pLastFile->pNext) {
 			ppLastFile = &(pLastFile->pNext);
 			pLastFile = *ppLastFile;