]> git.sur5r.net Git - u-boot/commitdiff
tools/msximage.c: fix warning about nptr possibly uninitialized
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 14 Nov 2014 15:16:44 +0000 (16:16 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 20 Nov 2014 09:30:19 +0000 (10:30 +0100)
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
tools/mxsimage.c

index 0d5b0ea8fa38271ff7688c4fa7037a084d39c1f9..04beefe05cbfd87575b9e23816a69034742b505c 100644 (file)
@@ -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. */