aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src
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
commitddfb6e16376d98a2211f986542c91e64a237508b (patch)
treebcd4035680621b5e586fe39f28e4a989e1b8cd6a /tools/firmware-utils/src
parent57ae5be233efe837275c42b90aeecba983cb57db (diff)
downloadupstream-ddfb6e16376d98a2211f986542c91e64a237508b.tar.gz
upstream-ddfb6e16376d98a2211f986542c91e64a237508b.tar.bz2
upstream-ddfb6e16376d98a2211f986542c91e64a237508b.zip
cleanup imagetag
SVN-Revision: 14941
Diffstat (limited to 'tools/firmware-utils/src')
-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;