From: Albert ARIBAUD Date: Fri, 14 Nov 2014 15:16:44 +0000 (+0100) Subject: tools/msximage.c: fix warning about nptr possibly uninitialized X-Git-Tag: v2015.01-rc2~3^2~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3cb4b713e1933f9e3d90766164f952914668daff;p=u-boot tools/msximage.c: fix warning about nptr possibly uninitialized Signed-off-by: Albert ARIBAUD --- diff --git a/tools/mxsimage.c b/tools/mxsimage.c index 0d5b0ea8fa..04beefe05c 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. */