summaryrefslogtreecommitdiff
path: root/tools/mxsimage.c
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-11-14 16:16:44 +0100
committerStefano Babic <sbabic@denx.de>2014-11-20 10:30:19 +0100
commit3cb4b713e1933f9e3d90766164f952914668daff (patch)
treeaf4450c184245b0177faebfcffc810b80613ea0f /tools/mxsimage.c
parentcdbdde3f56e1752d7a3f479693251f0ab459431a (diff)
downloadu-boot-imx-3cb4b713e1933f9e3d90766164f952914668daff.zip
u-boot-imx-3cb4b713e1933f9e3d90766164f952914668daff.tar.gz
u-boot-imx-3cb4b713e1933f9e3d90766164f952914668daff.tar.bz2
tools/msximage.c: fix warning about nptr possibly uninitialized
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'tools/mxsimage.c')
-rw-r--r--tools/mxsimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mxsimage.c b/tools/mxsimage.c
index 0d5b0ea..04beefe 100644
--- a/tools/mxsimage.c
+++ b/tools/mxsimage.c
@@ -1416,7 +1416,7 @@ static int sb_parse_line(struct sb_image_ctx *ictx, struct sb_cmd_list *cmd)
{
char *tok;
char *line = cmd->cmd;
- char *rptr;
+ char *rptr = NULL;
int ret;
/* Analyze the identifier on this line first. */