From 9ad7fb38be80e34ace6a9fa535ac5bfef03693d4 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 29 Jun 2024 11:32:35 +0000 Subject: [PATCH] remove unused vars --- usr.bin/kdump/kdump.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index c28ad9eb2e0..e83f9530759 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.163 2024/05/18 05:20:22 guenther Exp $ */ +/* $OpenBSD: kdump.c,v 1.164 2024/06/29 11:32:35 jsg Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -1499,9 +1499,6 @@ ktrpledge(struct ktr_pledge *pledge, size_t len) static void ktrpinsyscall(struct ktr_pinsyscall *pinsyscall, size_t len) { - const char *name = ""; - int i; - if (len < sizeof(struct ktr_pinsyscall)) errx(1, "invalid ktr pinsyscall length %zu", len); -- 2.20.1