From: jsg Date: Sat, 29 Jun 2024 11:32:35 +0000 (+0000) Subject: remove unused vars X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9ad7fb38be80e34ace6a9fa535ac5bfef03693d4;p=openbsd remove unused vars --- 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);