diff options
author | wdenk <wdenk> | 2003-06-21 00:17:24 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-21 00:17:24 +0000 |
commit | 592c5cabe78fe1cef4eb733904c81a9555d59a7e (patch) | |
tree | 7655563542f63358451ed964d0f49d2f803846d4 /tools | |
parent | 72755c7137396fdd8230dfc498294760fa2aaeb4 (diff) |
Patch by Murray Jensen, 20 Jun 2003:
- hymod update
- cleanup (especially for gcc-3.x compilers)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/env/fw_env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index f70c023e39d..409adff6653 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, |