diff options
-rw-r--r-- | debian/patches/fix-unused0001-libports-remove-unused-variables.patch | 42 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/fix-unused0001-libports-remove-unused-variables.patch b/debian/patches/fix-unused0001-libports-remove-unused-variables.patch new file mode 100644 index 00000000..a8d205cf --- /dev/null +++ b/debian/patches/fix-unused0001-libports-remove-unused-variables.patch @@ -0,0 +1,42 @@ +From 2496f1c8cb1ccbe6a42a7cab2b50a1deb5ae27d5 Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Mon, 14 Sep 2015 15:04:55 +0200 +Subject: [PATCH hurd] 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); +-- +2.1.4 + diff --git a/debian/patches/series b/debian/patches/series index b1a580c8..27d6f63e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -71,3 +71,4 @@ exec_filename0001-Add-a-new-exec_exec_file_name-RPC.patch exec_filename0002-Add-a-file_exec_file_name-RPC.patch exec_filename0003-Use-the-new-_hurd_exec_file_name-function.patch exec_filename0004-This-patch-is-an-amendment-of-exec_filename_exec.pat.patch +fix-unused0001-libports-remove-unused-variables.patch |