From: florian Date: Wed, 18 Mar 2009 17:18:25 +0000 (+0000) Subject: [tools] cleanup imagetag X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/84bf4449a74237550378ee5fded32c8ddb7b97ff?hp=6e9275ea26495089e3e4ab13728f61d659eba6c1 [tools] cleanup imagetag git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14941 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/tools/firmware-utils/src/imagetag.c b/tools/firmware-utils/src/imagetag.c index f04f662c6..af37992fa 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;