artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82232de
)
remove unused vars
author
jsg
<jsg@openbsd.org>
Sat, 29 Jun 2024 11:32:35 +0000
(11:32 +0000)
committer
jsg
<jsg@openbsd.org>
Sat, 29 Jun 2024 11:32:35 +0000
(11:32 +0000)
usr.bin/kdump/kdump.c
patch
|
blob
|
history
diff --git
a/usr.bin/kdump/kdump.c
b/usr.bin/kdump/kdump.c
index
c28ad9e
..
e83f953
100644
(file)
--- a/
usr.bin/kdump/kdump.c
+++ b/
usr.bin/kdump/kdump.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kdump.c,v 1.16
3 2024/05/18 05:20:22 guenther Exp $
*/
+/* $OpenBSD: kdump.c,v 1.16
4 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);