[tools] cleanup imagetag
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Mar 2009 17:18:25 +0000 (17:18 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Mar 2009 17:18:25 +0000 (17:18 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14941 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/firmware-utils/src/imagetag.c

index f04f662..af37992 100644 (file)
@@ -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;
This page took 0.025188 seconds and 4 git commands to generate.