commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 64/98: libihash: remove dead code


From: Samuel Thibault
Subject: [hurd] 64/98: libihash: remove dead code
Date: Tue, 14 Jan 2014 02:00:02 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 64b5a0f4dde23ee9b809b909bccd4ee8637364e9
Author: Justus Winter <address@hidden>
Date:   Thu Dec 5 17:34:48 2013 +0100

    libihash: remove dead code
    
    * libihash/ihash.c (hurd_ihash_add): Remove dead code.
---
 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;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]