diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/fixes0001-Remove-unused-variables.patch | 69 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 70 insertions, 0 deletions
diff --git a/debian/patches/fixes0001-Remove-unused-variables.patch b/debian/patches/fixes0001-Remove-unused-variables.patch new file mode 100644 index 00000000..264ca5a0 --- /dev/null +++ b/debian/patches/fixes0001-Remove-unused-variables.patch @@ -0,0 +1,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 + diff --git a/debian/patches/series b/debian/patches/series index a88fc720..3178f2b1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -59,3 +59,4 @@ introspection0012-fixup_libintrospection.patch ihash-as-cache0001-libihash-add-hurd_ihash_value_valid.patch ihash-as-cache0002-libihash-optimize-lookup-or-insert-operations.patch ihash-as-cache0003-libihash-prefer-performance-degradation-over-failure.patch +fixes0001-Remove-unused-variables.patch |