1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

common: fix 'dummy' is used uninitialized in this function warning

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>
This commit is contained in:
Kim Phillips
2009-06-15 11:50:40 -05:00
committed by Wolfgang Denk
parent 1ea6bcd859
commit 2a2ed845c0

View File

@@ -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;