projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdbdde3
)
tools/msximage.c: fix warning about nptr possibly uninitialized
author
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Fri, 14 Nov 2014 15:16:44 +0000
(16:16 +0100)
committer
Stefano 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
patch
|
blob
|
history
diff --git
a/tools/mxsimage.c
b/tools/mxsimage.c
index 0d5b0ea8fa38271ff7688c4fa7037a084d39c1f9..04beefe05cbfd87575b9e23816a69034742b505c 100644
(file)
--- 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. */