aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-03-18 17:18:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-03-18 17:18:25 +0000
commitbc2824ec3da37ff5fc668e31c1b1f3669d54a7a6 (patch)
tree035fc851474dc6bcde0ae0244861328b9d1661f6
parenteb72fec50e4e7104287d8ecb160c9a4214744e96 (diff)
downloadmaster-187ad058-bc2824ec3da37ff5fc668e31c1b1f3669d54a7a6.tar.gz
master-187ad058-bc2824ec3da37ff5fc668e31c1b1f3669d54a7a6.tar.bz2
master-187ad058-bc2824ec3da37ff5fc668e31c1b1f3669d54a7a6.zip
[tools] cleanup imagetag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14941 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/firmware-utils/src/imagetag.c4
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;