[U-Boot] [PATCH] tools/msximage.c: fix warning about nptr possibly uninitialized

14 Nov
2014
14 Nov
'14
4:16 p.m.
Signed-off-by: Albert ARIBAUD albert.u.boot@aribaud.net --- tools/mxsimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/mxsimage.c b/tools/mxsimage.c index 81c7f2d..55e61e2 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.1.0

20 Nov
20 Nov
10:39 a.m.
New subject: [U-Boot] [PATCH] tools/msximage.c: fix warning about nptr possibly uninitialized
On 14/11/2014 16:16, Albert ARIBAUD wrote:
Signed-off-by: Albert ARIBAUD albert.u.boot@aribaud.net
Applied to u-boot-imx, thanks !
Best regards, Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
3822
Age (days ago)
3828
Last active (days ago)
1 comments
2 participants
participants (2)
-
Albert ARIBAUD
-
Stefano Babic