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: v2025.01-rc5-pxa1908~14235^2~37 X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/index.xml?a=commitdiff_plain;h=3cb4b713e1933f9e3d90766164f952914668daff;p=u-boot.git 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. */