summaryrefslogtreecommitdiff
path: root/debian/patches/fix-warnings0004-vm-fix-compiler-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-warnings0004-vm-fix-compiler-warning.patch')
-rw-r--r--debian/patches/fix-warnings0004-vm-fix-compiler-warning.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/debian/patches/fix-warnings0004-vm-fix-compiler-warning.patch b/debian/patches/fix-warnings0004-vm-fix-compiler-warning.patch
deleted file mode 100644
index 566f4b9..0000000
--- a/debian/patches/fix-warnings0004-vm-fix-compiler-warning.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 2327dc425c7afe006bd6cdac801212ee799199f4 Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Sat, 15 Aug 2015 11:29:27 +0200
-Subject: [PATCH gnumach 4/4] vm: fix compiler warning
-
-* vm/vm_user.c (vm_wire): Drop unused but set variable `host'.
----
- vm/vm_user.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/vm/vm_user.c b/vm/vm_user.c
-index 8c7a5d8..c71e9f5 100644
---- a/vm/vm_user.c
-+++ b/vm/vm_user.c
-@@ -412,7 +412,6 @@ kern_return_t vm_wire(port, map, start, size, access)
- vm_size_t size;
- vm_prot_t access;
- {
-- host_t host;
- boolean_t priv;
-
- if (!IP_VALID(port))
-@@ -430,8 +429,6 @@ kern_return_t vm_wire(port, map, start, size, access)
- priv = ip_kotype(port) == IKOT_HOST_PRIV;
- ip_unlock(port);
-
-- host = (host_t) port->ip_kobject;
--
- if (map == VM_MAP_NULL)
- return KERN_INVALID_TASK;
-
---
-2.1.4
-