tools/msximage.c: fix warning about nptr possibly uninitialized
PATCH 1/1 tools/msximage.c: fix warning about nptr possibly uninitialized
Signed-off-by Albert ARIBAUD <[email protected]>
--- tools/mxsimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/mxsimage.c +1 -1
@@ -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. */
Signature · 1 line
2.1.0
PATCH 1/1 tools/msximage.c: fix warning about nptr possibly uninitialized
Quoted 2 lines · Albert ARIBAUD
Signed-off-by Albert ARIBAUD <[email protected]>---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 at denx.de =====================================================================