]> granicus.if.org Git - sudo/commitdiff
Remove unneeded variable.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 11 Feb 2011 14:47:39 +0000 (09:47 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 11 Feb 2011 14:47:39 +0000 (09:47 -0500)
--HG--
branch : 1.7

alias.c

diff --git a/alias.c b/alias.c
index e5af9f8d304e0c77361852da47f264ecd65f1c89..238830c7bbd948d72a6d953d45cf09d9244df64c 100644 (file)
--- a/alias.c
+++ b/alias.c
@@ -182,14 +182,13 @@ alias_remove(name, type)
     int type;
 {
     struct rbnode *node;
-    struct alias key, *a;
+    struct alias key;
 
     key.name = name;
     key.type = type;
     if ((node = rbfind(aliases, &key)) == NULL)
        return NULL;
-    a = rbdelete(aliases, node);
-    return a;
+    return rbdelete(aliases, node);
 }
 
 void