summaryrefslogtreecommitdiff
path: root/debian/patches/fixes0001-Remove-unused-variables.patch
blob: 264ca5a08caa4d1aaa7b4c20f4946af008e278fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
From a9eb3e9765a21f9903705e2b9f46694529af8155 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Fri, 6 Nov 2015 10:39:53 +0100
Subject: [PATCH hurd] Remove unused variables

* console/pager.c (user_pager_init): Remove unused variables.
* ext2fs/pager.c (create_disk_pager): Likewise.
* fatfs/pager.c (create_fat_pager): Likewise.
* storeio/pager.c (init_dev_paging): Likewise.
---
 console/pager.c | 1 -
 ext2fs/pager.c  | 2 --
 fatfs/pager.c   | 2 --
 storeio/pager.c | 1 -
 4 files changed, 6 deletions(-)

diff --git a/console/pager.c b/console/pager.c
index 818e49d..05074a7 100644
--- a/console/pager.c
+++ b/console/pager.c
@@ -125,7 +125,6 @@ pager_dropweak (struct user_pager_info *upi)
 void
 user_pager_init (void)
 {
-  pthread_t thread;
   error_t err;
 
   /* Create the pager bucket, and start to serve paging requests.  */
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 3e080f8..9df7e0b 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -1200,8 +1200,6 @@ disk_cache_block_is_ref (block_t block)
 void
 create_disk_pager (void)
 {
-  pthread_t thread;
-  pthread_attr_t attr;
   error_t err;
 
   /* The disk pager.  */
diff --git a/fatfs/pager.c b/fatfs/pager.c
index d255f29..84376bd 100644
--- a/fatfs/pager.c
+++ b/fatfs/pager.c
@@ -764,8 +764,6 @@ pager_dropweak (struct user_pager_info *p __attribute__ ((unused)))
 void
 create_fat_pager (void)
 {
-  pthread_t thread;
-  pthread_attr_t attr;
   error_t err;
 
   /* The disk pager.  */
diff --git a/storeio/pager.c b/storeio/pager.c
index f8f59cd..54b1714 100644
--- a/storeio/pager.c
+++ b/storeio/pager.c
@@ -155,7 +155,6 @@ init_dev_paging ()
       pthread_mutex_lock (&pager_global_lock);
       if (pager_port_bucket == NULL)
 	{
-	  pthread_t thread;
 	  error_t err;
 
 	  pager_port_bucket = ports_create_bucket ();
-- 
2.1.4