projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea6bcd
)
common: fix 'dummy' is used uninitialized in this function warning
author
Kim Phillips
<kim.phillips@freescale.com>
Mon, 15 Jun 2009 16:50:40 +0000
(11:50 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 19 Jul 2009 19:37:02 +0000
(21:37 +0200)
fix this gcc 4.4 warning:
xyzModem.c: In function 'xyzModem_stream_open':
xyzModem.c:564: warning: 'dummy' is used uninitialized in this function
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
common/xyzModem.c
patch
|
blob
|
history
diff --git
a/common/xyzModem.c
b/common/xyzModem.c
index a209dfa4af73d134bcf647511ad6cd7fabe9406f..7a46805e13363495103426e057e2d106545b7e0d 100644
(file)
--- a/
common/xyzModem.c
+++ b/
common/xyzModem.c
@@
-544,7
+544,7
@@
xyzModem_stream_open (connection_info_t * info, int *err)
xyzModem_CHAR_TIMEOUT);
#else
/* TODO: CHECK ! */
- int dummy;
+ int dummy
= 0
;
xyz.__chan = &dummy;
#endif
xyz.len = 0;