From 3cb4b713e1933f9e3d90766164f952914668daff Mon Sep 17 00:00:00 2001 From: Albert ARIBAUD Date: Fri, 14 Nov 2014 16:16:44 +0100 Subject: [PATCH] tools/msximage.c: fix warning about nptr possibly uninitialized Signed-off-by: Albert ARIBAUD --- tools/mxsimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.5