diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-15 08:23:14 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-21 22:21:22 +0200 |
commit | 30078a2f426df5eb738ae9cb895e4485b9b8feaa (patch) | |
tree | 15dd1b092a6487cc1c579df117ee834cbdf743f3 /commands/edit.c | |
parent | eff51304a72ae260c9398d89d26ee01d518de904 (diff) | |
download | barebox-30078a2f426df5eb738ae9cb895e4485b9b8feaa.tar.gz barebox-30078a2f426df5eb738ae9cb895e4485b9b8feaa.tar.xz |
edit: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/edit.c')
-rw-r--r-- | commands/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/edit.c b/commands/edit.c index a65b08acd2..7da681643b 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) |