[PATCH 04/42] edit: sparse fixes
Sascha Hauer
s.hauer at pengutronix.de
Tue Oct 19 08:54:52 EDT 2010
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
commands/edit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/commands/edit.c b/commands/edit.c
index a65b08a..7da6816 100644
--- a/commands/edit.c
+++ b/commands/edit.c
@@ -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)
--
1.7.2.3
More information about the barebox
mailing list