Mercurial > ecos
changeset 1959:81a7ecadf7d3
* src/decompress.c (zcfree): Remove unnecessary variable
reinitialisation.
| author | asl |
|---|---|
| date | Thu, 21 Apr 2005 18:39:28 +0000 |
| parents | 9f7d3e837120 |
| children | 837e0ee7a317 |
| files | packages/redboot/current/ChangeLog packages/redboot/current/src/decompress.c |
| diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/redboot/current/ChangeLog +++ b/packages/redboot/current/ChangeLog @@ -8,6 +8,10 @@ 2005-04-21 Ian Campbell <icampbell@arc * doc/redboot_cmds.sgml: Document the new '-b' option to the 'ip_address' command. + + * src/decompress.c (zcfree): Remove unnecessary variable + reinitialisation. + 2005-04-17 Andrew Lunn <andrew.lunn@ascom.ch>
--- a/packages/redboot/current/src/decompress.c +++ b/packages/redboot/current/src/decompress.c @@ -199,7 +199,6 @@ zcfree(void *opaque, void *ptr) diag_printf("%s(%p) = 0x%x bytes\n", __FUNCTION__, ptr, bp->size); #endif - bp = (struct _block *)((char *)ptr - sizeof(struct _block)); while(bp->next && bp->next->magic == 0) { #ifdef DEBUG_ZLIB_MALLOC diag_printf(" merging %08p and %08p (after)\n", bp, bp->next);
