summaryrefslogtreecommitdiff
path: root/tools/env
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-21 00:17:24 +0000
committerwdenk <wdenk>2003-06-21 00:17:24 +0000
commit592c5cabe78fe1cef4eb733904c81a9555d59a7e (patch)
tree7655563542f63358451ed964d0f49d2f803846d4 /tools/env
parent72755c7137396fdd8230dfc498294760fa2aaeb4 (diff)
downloadu-boot-imx-592c5cabe78fe1cef4eb733904c81a9555d59a7e.zip
u-boot-imx-592c5cabe78fe1cef4eb733904c81a9555d59a7e.tar.gz
u-boot-imx-592c5cabe78fe1cef4eb733904c81a9555d59a7e.tar.bz2
Patch by Murray Jensen, 20 Jun 2003:
- hymod update - cleanup (especially for gcc-3.x compilers)
Diffstat (limited to 'tools/env')
-rw-r--r--tools/env/fw_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index f70c023..409adff 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -385,7 +385,7 @@ static int flash_io (int mode)
{
int fd, fdr, rc, otherdev, len, resid;
erase_info_t erase;
- char *data;
+ char *data = NULL;
if ((fd = open (DEVNAME (curdev), mode)) < 0) {
fprintf (stderr,