edit: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
eff51304a7
commit
30078a2f42
|
@ -231,7 +231,7 @@ static int edit_read_file(const char *path)
|
|||
line->prev = lastline;
|
||||
if (lastline)
|
||||
lastline->next = line;
|
||||
line->next = 0;
|
||||
line->next = NULL;
|
||||
lastline = line;
|
||||
|
||||
if (!lineend)
|
||||
|
|
Loading…
Reference in New Issue