[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/13] libihash: remove dead code
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 02/13] libihash: remove dead code |
Date: |
Tue, 10 Dec 2013 00:58:24 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Mon 09 Dec 2013 15:16:30 +0100, a écrit :
> * libihash/ihash.c (hurd_ihash_add): Remove dead code.
Ack!
> ---
> libihash/ihash.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/libihash/ihash.c b/libihash/ihash.c
> index be1c580..d670fee 100644
> --- a/libihash/ihash.c
> +++ b/libihash/ihash.c
> @@ -372,9 +372,6 @@ hurd_ihash_add (hurd_ihash_t ht, hurd_ihash_key_t key,
> hurd_ihash_value_t item)
>
> if (ht->items == NULL)
> {
> - if (ht->items)
> - free(ht->items);
> -
> *ht = old_ht;
> return ENOMEM;
> }
> --
> 1.7.10.4
>
--
Samuel
Client: "This program has been successfully installed."
Vendeur (surpris): "Et où voyez-vous une erreur ?"
Client: "C'est << HAS BEEN >> !"
- More fixes for fakeroot-hurd, Justus Winter, 2013/12/09
- [PATCH 02/13] libihash: remove dead code, Justus Winter, 2013/12/09
- Re: [PATCH 02/13] libihash: remove dead code,
Samuel Thibault <=
- [PATCH 01/13] libfshelp: use a hash table in get-identity.c, Justus Winter, 2013/12/09
- [PATCH 03/13] trans: fix the use of the hash table in fakeroot.c, Justus Winter, 2013/12/09
- [PATCH 04/13] trans: improve the performance of dir_lookup in fakeroot, Justus Winter, 2013/12/09
- [PATCH 06/13] trans: fix locking issue in fakeroot, Justus Winter, 2013/12/09
- [PATCH 07/13] trans: return nodes locked when creating fake nodes in fakeroot, Justus Winter, 2013/12/09