From 3cb4b713e1933f9e3d90766164f952914668daff Mon Sep 17 00:00:00 2001 From: Albert ARIBAUD Date: Fri, 14 Nov 2014 16:16:44 +0100 Subject: 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(-) (limited to 'tools') 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. */ -- cgit v1.1