From 336878f81dedfa0b0ac7cea44f1fdd136e1aae69 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 30 Jan 2015 00:24:03 +0000 Subject: [PATCH] swap.c: fix unused argument warning --- Kernel/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/swap.c b/Kernel/swap.c index 8f206f0c..7c592398 100644 --- a/Kernel/swap.c +++ b/Kernel/swap.c @@ -191,7 +191,7 @@ static ptptr swapvictim(ptptr p, int notself) return udata.u_ptab; return r; #else - p; + used(p); if (notself) panic("bad notself\n"); return udata.u_ptab; -- 2.34.1