From: Florian Fainelli Date: Wed, 18 Mar 2009 17:18:25 +0000 (+0000) Subject: cleanup imagetag X-Git-Tag: reboot~24173 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ddfb6e16376d98a2211f986542c91e64a237508b;p=oweals%2Fopenwrt.git cleanup imagetag SVN-Revision: 14941 --- 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;