commit | 592c5cabe78fe1cef4eb733904c81a9555d59a7e | [log] [tgz] |
---|---|---|
author | wdenk <wdenk> | Sat Jun 21 00:17:24 2003 +0000 |
committer | wdenk <wdenk> | Sat Jun 21 00:17:24 2003 +0000 |
tree | 7655563542f63358451ed964d0f49d2f803846d4 | |
parent | 72755c7137396fdd8230dfc498294760fa2aaeb4 [diff] [blame] |
Patch by Murray Jensen, 20 Jun 2003: - hymod update - cleanup (especially for gcc-3.x compilers)
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 @@ { 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,