projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ae5be
)
cleanup imagetag
author
Florian Fainelli
<florian@openwrt.org>
Wed, 18 Mar 2009 17:18:25 +0000
(17:18 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Wed, 18 Mar 2009 17:18:25 +0000
(17:18 +0000)
SVN-Revision: 14941
tools/firmware-utils/src/imagetag.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/imagetag.c
b/tools/firmware-utils/src/imagetag.c
index f04f662c62d0a31a9d07eb88e0ccb71cc1bc0c4c..af37992fae803de94ceffea1e721d5a82d93bbdf 100644
(file)
--- 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;