commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 01/23: libports: remove unused variables


From: Samuel Thibault
Subject: [hurd] 01/23: libports: remove unused variables
Date: Tue, 13 Oct 2015 00:09:54 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 2496f1c8cb1ccbe6a42a7cab2b50a1deb5ae27d5
Author: Justus Winter <address@hidden>
Date:   Mon Sep 14 15:04:55 2015 +0200

    libports: remove unused variables
    
    * libports/inhibit-all-rpcs.c (ports_inhibit_all_rpcs): Remove unused
    variable `bucket'.
    * libports/inhibit-class-rpcs.c (ports_inhibit_class_rpcs): Remove unused
    variables `pi' and `rpc'.
---
 libports/inhibit-all-rpcs.c   | 1 -
 libports/inhibit-class-rpcs.c | 2 --
 2 files changed, 3 deletions(-)

diff --git a/libports/inhibit-all-rpcs.c b/libports/inhibit-all-rpcs.c
index 27e2ec5..71aecf1 100644
--- a/libports/inhibit-all-rpcs.c
+++ b/libports/inhibit-all-rpcs.c
@@ -33,7 +33,6 @@ ports_inhibit_all_rpcs ()
     err = EBUSY;
   else
     {
-      struct port_bucket *bucket;
       int this_one = 0;
 
       pthread_rwlock_rdlock (&_ports_htable_lock);
diff --git a/libports/inhibit-class-rpcs.c b/libports/inhibit-class-rpcs.c
index 9a87a5f..ed99aad 100644
--- a/libports/inhibit-class-rpcs.c
+++ b/libports/inhibit-class-rpcs.c
@@ -32,8 +32,6 @@ ports_inhibit_class_rpcs (struct port_class *class)
     err = EBUSY;
   else
     {
-      struct port_info *pi;
-      struct rpc_info *rpc;
       int this_one = 0;
 
       pthread_rwlock_rdlock (&_ports_htable_lock);

-- 
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]