* [U-Boot] [PATCH] tools/msximage.c: fix warning about nptr possibly uninitialized
@ 2014-11-14 15:16 Albert ARIBAUD
2014-11-20 9:39 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Albert ARIBAUD @ 2014-11-14 15:16 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-20 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 15:16 [U-Boot] [PATCH] tools/msximage.c: fix warning about nptr possibly uninitialized Albert ARIBAUD
2014-11-20 9:39 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox