diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-03-18 17:18:25 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-03-18 17:18:25 +0000 |
commit | bc2824ec3da37ff5fc668e31c1b1f3669d54a7a6 (patch) | |
tree | 035fc851474dc6bcde0ae0244861328b9d1661f6 /tools/firmware-utils | |
parent | eb72fec50e4e7104287d8ecb160c9a4214744e96 (diff) | |
download | upstream-bc2824ec3da37ff5fc668e31c1b1f3669d54a7a6.tar.gz upstream-bc2824ec3da37ff5fc668e31c1b1f3669d54a7a6.tar.bz2 upstream-bc2824ec3da37ff5fc668e31c1b1f3669d54a7a6.zip |
[tools] cleanup imagetag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14941 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r-- | tools/firmware-utils/src/imagetag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/imagetag.c b/tools/firmware-utils/src/imagetag.c index f04f662c62..af37992fae 100644 --- a/tools/firmware-utils/src/imagetag.c +++ b/tools/firmware-utils/src/imagetag.c @@ -239,11 +239,11 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin, int main(int argc, char **argv) { int c; - char *kernel, *rootfs, *bin, *boardid, *chipid, *magic2 = NULL, *ver = NULL; + char *kernel, *rootfs, *bin, *boardid, *chipid, *magic2, *ver; uint32_t flashstart, fwoffset, loadaddr, entry; uint32_t fwaddr, flash_bs; - kernel = rootfs = bin = boardid = chipid = NULL; + kernel = rootfs = bin = boardid = chipid = magic2 = ver = NULL; entry = 0; flashstart = DEFAULT_FLASH_START; |