diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2009-06-15 11:50:40 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-19 21:37:02 +0200 |
commit | 2a2ed845c085eb093b69fa6382fcf7534bb1f4b0 (patch) | |
tree | 5fae1a48efcdede436184ab2cb0c3a24cc91f1d7 | |
parent | 1ea6bcd8590b3ff9fe2bfbb0eb29a3b0edaa9460 (diff) | |
download | u-boot-imx-2a2ed845c085eb093b69fa6382fcf7534bb1f4b0.zip u-boot-imx-2a2ed845c085eb093b69fa6382fcf7534bb1f4b0.tar.gz u-boot-imx-2a2ed845c085eb093b69fa6382fcf7534bb1f4b0.tar.bz2 |
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>
-rw-r--r-- | common/xyzModem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c index a209dfa..7a46805 100644 --- 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; |